! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
panel should set SmRestartImmediately hint
Status:
RESOLVED: FIXED
Product:
Xfce4-panel
Component:
General

Comments

Description Brian J. Tarricone (not reading bugmail) 2008-10-23 06:36:43 CEST
Now that xfce4-session supports the SmRestartImmediately hint, the panel should set it when connecting to the SM.  I was going to cook up a patch for this, but it seems a bit complicated with the shutdown/restart logic in evaluate_run_state().

If the user requests that the panel quits via 'xfce4-panel -x' (that is, a quit that doesn't involve logging out of the session), the panel should reset its restart style hint to SmRestartIfRunning so the session manager doesn't automatically restart it.
Comment 1 Nick Schermer editbugs 2008-10-23 17:36:58 CEST
Committed in revision 28386.

Hopefully it works. Tried -r and -x and then the panel properly exits, when running 'killall -9 xfce4-panel' it is restarted by the session manager.
Comment 2 Nick Schermer editbugs 2008-10-23 17:37:26 CEST
Err, well please reopen if you think this implementation is crap ;-).

Bug #4516

Reported by:
Brian J. Tarricone (not reading bugmail)
Reported on: 2008-10-23
Last modified on: 2010-02-27

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
4.7 (master)

Attachments

Additional information