[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: How does ksmserver start applications?
From: Lubos Lunak <l.lunak () sh ! cvut ! cz>
Date: 2002-08-27 10:26:06
[Download RAW message or body]
On Tuesday 27 August 2002 00:41, Waldo Bastian wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 26 August 2002 03:23 pm, Roland Seuhs wrote:
> > Hi!
> >
> > This has been previously posted here:
> > http://lists.kde.org/?l=kde-devel&m=102985129803210&w=2
> >
> > I need the information for this program:
> > http://lists.kde.org/?l=kde-devel&m=102964536723723&w=2
> >
> > ksmserver starts applications to restore a session. Unlike kstart, which
> > starts apps on the current desktop and later moves them to another
> > desktop, ksmserver starts those apps seamlessly and without flicker and
> > without stealing focus.
>
> I believe kwin stores things like window geometry and desktop for session
> management purposes and restores the windows accordingly during startup.
Yes, it's handled by KWin. KWin asks X to redirect window mapping to KWin,
and before the window is actually shown, KWin applies geometry, etc. saved
from the session. And no, your application cannot do the same, it'd have to
ask KWin to do it (e.g. now placing windows of newly started app on the
desktop they were started on is handled this way - but I guess it refuses to
use non-existing virtual desktop).
I'm not sure if I understand what exactly is the utility trying to do, but if
it's something like Mozilla's QuickLaunch or whatever they call it, it'd be
probably better to add support for this directly in Konqueror (IMHO it
doesn't make sense for any other app), because I think you just cannot
reliably make it work with any app just by fidlling with it from outside.
--
Lubos Lunak
developer
---------------------------------------------------------------------
SuSE CR, s.r.o. e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27 tel: +420 2 9654 2373
190 00 Praha 9 fax: +420 2 9654 2374
Czech Republic http://www.suse.cz/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic