mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-10-06 10:06:28 +00:00
export XDG_CURRENT_DESKTOP
This commit is contained in:
@@ -155,6 +155,9 @@ void CCompositor::startCompositor() {
|
|||||||
setenv("QT_QPA_PLATFORM", "wayland", true);
|
setenv("QT_QPA_PLATFORM", "wayland", true);
|
||||||
setenv("MOZ_ENABLE_WAYLAND", "1", true);
|
setenv("MOZ_ENABLE_WAYLAND", "1", true);
|
||||||
|
|
||||||
|
// Set XDG_CURRENT_DESKTOP to our compositor's name
|
||||||
|
setenv("XDG_CURRENT_DESKTOP", "hyprland", true);
|
||||||
|
|
||||||
m_szWLDisplaySocket = wl_display_add_socket_auto(m_sWLDisplay);
|
m_szWLDisplaySocket = wl_display_add_socket_auto(m_sWLDisplay);
|
||||||
|
|
||||||
if (!m_szWLDisplaySocket) {
|
if (!m_szWLDisplaySocket) {
|
||||||
|
Reference in New Issue
Block a user