[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#9394: KDE2 session manager does not restart legacy apps (e.g emacs)
From: Matthias Ettrich <ettrich () trolltech ! com>
Date: 2001-03-07 11:52:19
[Download RAW message or body]
On Wednesday 07 March 2001 02:07, you wrote:
> Matthias Ettrich wrote:
> > I don't indent to support the WM_SAVE_YOURSELF protocol again. It's
> > really obsolete and its implications are not that easy. I'd rather add a
> > hack to restart emacs as emacs.
>
> I had to do it to understand your reservations.
:)
>
> The attached patch saves the correct information
> into the kwin config file. KWin is then able to
> restart these programs on startup. Of course it not
> able to recognize the window when it appears on the desktop,
> and not readily able to apply the proper geometry,
> iconification, etc.
>
> But everything works decently when using
> the ``Store Settings'' option in the window
> operations menu!
>
> I believe that this ``Store Settings'' capability
> makes the patch useful. Let me attempt to overcome your
> reservations with four arguments:
>
> - Compact: only one file (workspace.cpp) is affected in two places.
> - Fast: it processes all eligible windows simultaneously.
> - Safe: there is a strict timeout: it cannot hang.
> - Isolated: everything is done by opening an auxilliary connection
> to the X server. It does not mess with QT's settings.
>
But isn't the whole point of this to make session management work with emacs
and friends?
We need to figure out a way to identify those windows when they startup
again. Most certainly WM_COMMAND won't work here. But what about the class
hint?
Matthias
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic