]> source.dussan.org Git - tigervnc.git/commitdiff
Properly set XDG_CURRENT_DESKTOP
authorPierre Ossman <ossman@cendio.se>
Mon, 10 Jan 2022 08:34:19 +0000 (09:34 +0100)
committerPierre Ossman <ossman@cendio.se>
Mon, 10 Jan 2022 08:34:19 +0000 (09:34 +0100)
There is no such thing as XDG_DESKTOP_NAMES.

unix/vncserver/vncserver.in

index 4f87db7fcd473610f18683be9776e752c7bd5b8f..91b0f1621fbcb277241f3762b59a3823c96d335e 100755 (executable)
@@ -198,7 +198,7 @@ $ENV{DESKTOP_SESSION} = $sessionname;
 $ENV{XDG_SESSION_DESKTOP} = $sessionname;
 
 if ($session{'DesktopNames'}) {
-    $ENV{XDG_DESKTOP_NAMES} = $session{'DesktopNames'} =~ s/;/:/gr;
+    $ENV{XDG_CURRENT_DESKTOP} = $session{'DesktopNames'} =~ s/;/:/gr;
 }
 
 # Make an X server cookie and set up the Xauthority file