xfce4-session SmRestartImmediately support
Olivier Fourdan
fourdan at gmail.com
Fri Oct 17 20:10:55 CEST 2008
On Fri, Oct 17, 2008 at 9:31 AM, Brian J. Tarricone <bjt23 at cornell.edu> wrote:
> Hi guys,
>
> I just committed SmRestartImmediately support for xfce4-session.
> Xfdesktop already uses it. I'd suggest that xfce4-panel and xfwm4 be
> changed to use it as well, if they aren't already.
>
> They'll both need extra changes too:
>
> Panel: If the user runs 'xfce4-panel -x', the panel should first reset
> its SM restart hint to SmRestartIfRunning before exiting.
>
> WM: If the user runs 'xfwm4 --replace', the old instance of the WM
> should set its SM restart hint to SmRestartIfRunning before exiting.
[...]
It's now implemented in xfwm4.
libxfcegui4 did not implement client_session_set_restart_style() and
called g_error() and thus abort(), so I had to implement this (and a
few other) in libxfcegui4 first.
It requires libxfcegui4 from svn rev. r28280, and seems to work as advertised.
Cheers,
Olivier.
More information about the Xfce4-dev
mailing list