diff options
author | Ahmad Samir <ahmad@mageia.org> | 2011-06-16 21:35:10 +0000 |
---|---|---|
committer | Ahmad Samir <ahmad@mageia.org> | 2011-06-16 21:35:10 +0000 |
commit | a170e64b824a601c10ea87207636ab41f32c7713 (patch) | |
tree | bcfb563f2c61276e8f20b77ebc8916ec572d06f2 | |
parent | c7364f4e831064a082e4371daa71731a2e59ef32 (diff) | |
download | drakx-a170e64b824a601c10ea87207636ab41f32c7713.tar drakx-a170e64b824a601c10ea87207636ab41f32c7713.tar.gz drakx-a170e64b824a601c10ea87207636ab41f32c7713.tar.bz2 drakx-a170e64b824a601c10ea87207636ab41f32c7713.tar.xz drakx-a170e64b824a601c10ea87207636ab41f32c7713.zip |
- any.pm: Add lxsession to the wm list, and add lxde-logout as the
ask_window_manager_to_logout command (mga#1395)
-rw-r--r-- | perl-install/NEWS | 3 | ||||
-rw-r--r-- | perl-install/any.pm | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index 690653aff..3278f562f 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- any.pm: Add lxsession to the wm list, and add lxde-logout as the + ask_window_manager_to_logout command (mga#1395) + Version 13.59 - 14 June 2011 Fix libnotify API ( mga #1780) diff --git a/perl-install/any.pm b/perl-install/any.pm index b1b48dc7c..da0a0d37a 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -1415,7 +1415,7 @@ sub monitor_full_edid() { # FIXME: is buggy regarding multiple sessions sub running_window_manager() { - my @window_managers = qw(ksmserver kwin gnome-session icewm wmaker afterstep fvwm fvwm2 fvwm95 mwm twm enlightenment xfce4-session blackbox sawfish olvwm fluxbox compiz drakx-matchbox-window-manager); + my @window_managers = qw(ksmserver kwin gnome-session icewm wmaker afterstep fvwm fvwm2 fvwm95 mwm twm enlightenment xfce4-session blackbox sawfish olvwm fluxbox compiz drakx-matchbox-window-manager lxsession); foreach (@window_managers) { my @pids = fuzzy_pidofs(qr/\b$_\b/) or next; @@ -1440,6 +1440,7 @@ sub ask_window_manager_to_logout { 'gnome-session' => "gnome-session-save --kill", 'icewm' => "killall -QUIT icewm", 'xfce4-session' => "xfce4-session-logout --logout", + 'lxsession' => "lxde-logout", ); my $cmd = $h{$wm} or return; if (member($wm, 'ksmserver', 'kwin', 'gnome-session') && $> == 0) { |