Browse Source

Properly set XDG_CURRENT_DESKTOP

There is no such thing as XDG_DESKTOP_NAMES.
tags/v1.12.90
Pierre Ossman 2 years ago
parent
commit
6c9a9cba2e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      unix/vncserver/vncserver.in

+ 1
- 1
unix/vncserver/vncserver.in View File

@@ -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

Loading…
Cancel
Save