https://bugzilla.xfce.org/show_bug.cgi?id=5379
--- Comment #21 from Dimitar Zhekov <[email protected]> --- Actually I asked Chris for SmSaveGlobal when "Save session on logout" is off, and he gave me some directions, so here is the patch. It was a bit more work than I expected, because when sending SmsSaveYourself to the clients, xfsm itself receives one and saves the session. So I had to add a save_session variable to XfsmManager, and use xfsm_manager_perform_shutdown from xfsm_manager_complete_saveyourself. Whoever is interested, please test: (a) if xfce saves the xsmp clients (for example gedit) and the legacy clients (for example xfce Terminal) when "Save session on logout" is on, and does not save them when off; (b) if gedit (or another xsmp client) asks to save any modified files when "Save session on logout" is off. How to check: patch and compile xfce4-session, replace /usr/bin/xfce4-session with xfce4-session-$ver/xfce4-session/.libs/xfce4-session, logout and re-login. -- You are receiving this mail because: You are the QA Contact for the bug. _______________________________________________ Xfce-bugs mailing list [email protected] https://mail.xfce.org/mailman/listinfo/xfce-bugs
