xfce4-session SmRestartImmediately support
Brian J. Tarricone
bjt23 at cornell.edu
Fri Oct 17 21:16:20 CEST 2008
Olivier Fourdan wrote:
> 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.
Heh, I guess I didn't actually test the "yes I really want to quit"
functionality. Cool, thanks for taking the time to implement this, Olivier.
-b
More information about the Xfce4-dev
mailing list