[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: stupid questions (setting widget sizes)
- From: Michael ROGERS <M Rogers cs ucl ac uk>
- To: gtk-app-devel-list redhat com
- Subject: Re: stupid questions (setting widget sizes)
- Date: Wed, 30 Jun 1999 22:38:57 +0100
> Actually, Michael, I suggest you read Havoc's response to this post (and
>the thread that ensued).
>
> He talks about using gnome-session to do this via session management.
>It's not quite the window manager that's doing it (well... it's sorta both).
>And he makes a couple of good points about why the session manager /should/
>be doing that rather than each program implementing it on it's own. I've
>read what I could on gnome-session, and I agree that in theory, it's the
>"correct" way of doing things.
I agree that the session manager should be used, and for want of a better
solution I accept that the window manager will have to save the window
positions... but I can't see a pretty way of doing it. The window manager
solution will only work if all applications are well-behaved with regard to
session management - they have to give the window manager enough information
to recognise each of their top-level windows after a restart. Also, there is
no way that I know of to distinguish between two instances of the same
application with different contents (for example, a session-aware terminal
with pwd /home/michael and another with pwd /root might be swapped by the
window manager, since they will be unaware of each other and will set the
same class, name and role properties).
> Having said that, I can't seem to get gnome-session to do things properly
>(E! 0.15, GNOME 1.0.2/1.0.7/1.0.10), but I'll live with it until it /does/
>work right :-)
If Rasterman can make it work I'll steal his code. ;)
Michael Rogers
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]