Created attachment 6101 Fix 'shutdown' action in the fallback mode The bug can be easily fixed in this way: - if (type == XFSM_SHUTDOWN_RESTART) + else if (type == XFSM_SHUTDOWN_RESTART) but I think it would be better to use switch instead of multiple if..else.
Awesome, thanks! Pushed to master in: commit 83fd4fee8697fc5da8411c99b18900d211b72d68 Author: Mikhail Efremov <sem@altlinux.org> Date: Fri Mar 20 20:54:38 2015 +0300 Fix 'shutdown' action in the fallback mode Use switch instead of multiple if..else. Signed-off-by: Eric Koegel <eric.koegel@gmail.com> http://git.xfce.org/xfce/xfce4-session/commit/?id=83fd4fee8697fc5da8411c99b18900d211b72d68