[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Fwd: KDE 2.1 and Netscape]
From:       Stephan Kulow <coolo () kde ! org>
Date:       2001-03-23 17:30:39
[Download RAW message or body]

Andreas Pour wrote:
> 
> Stephan Kulow wrote:
> >
> > Martin Jones wrote:
> > >
> > > On Thu, 22 Mar 2001 05:00, you wrote:
> > > > Hi,
> > > >
> > > > I think we discussed this problem some time ago -- last August in fact
> > > > -- and somehow it was fixed.  Now it's broken again.  This has to do
> > > > with Netscape not being able to find a running instance b/c its IPC
> > > > method (using XQueryTree from the root window to find running instances
> > > > of Netscape) is broken by the way kdesktop sets the __SWM_VROOT atom to
> > > > a window which is not in fact the root (or virtual root) window, in fact
> > > > it's a childless window, hence not the root of anything.
> > > >
> > > > I hope this rings a bell :-).
> > >
> > > The earlier problem was the screensaver not deleting the property properly
> > > when it was finished with it.  This problem is different since kdesktop
> > > deliberately sets the property so that things like xsnow will work.  We may
> > > need an option to disable this property.
> > >
> > > Another option may be to set the property, run the program, then delete the
> > > property after a short delay.  This will work for programs that get the root
> > > window when they start and save it in a variable for later use.  I think this
> > > would be the common case anyway, but there's no guarantees.
> > >
> > > The final option is to get rid of the property all together so that xsnow
> > > doesn't work.  People obviously complained that they couldn't run a program
> > > to corrupt their desktop like they used to, so we would be back where we
> > > started.
> > >
> > > Would we rather xsnow or netscape worked?  I think xsnow is more useful.  Why
> > > the hell are people still running netscape anyway?
> > >
> > Not to forget that netscape stil works, just netscape -remote doesn't!
> > I still think kwin could be changed to start it's root at kdesktop too.
> > It's not just xsnow btw, it's also xeyes+, xplanet, xmountains, ...
> > this vroot hack is quite common. What I don't understand is why this
> > discussion
> > is held in private mail and not in kde-core-devel.
> 
> Wouldn't it just work if KWin reparented Netscape (and all other
> windows) to be children of the virtual root window instead of children
> of the "real" root window?  I mean, if kdesktop (which really is part of
> the window manager historically, just split in KDE) uses window X as the
> virtual root window, KWin should treat it as the root window as well,
> and have all mapped windows be children of that.
> 
> BTW, I didn't mean to keep this private, feel free to reply to the lists
> if you please.
> 
So I do. I think, that kwin should use the desktop as parent of netscape
and others.
It could be part of the Netwm specs, but that's above my knowledge :)

Greetings, Stephan

-- 
People in cars cause accidents. Accidents in cars cause people.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic