mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-26 07:05:58 +01:00
export XDG_CURRENT_DESKTOP
This commit is contained in:
parent
3618f6ea51
commit
670ba55b35
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue