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

List:       kde-core-devel
Subject:    Re: KWin Request : NET::Tool
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2001-05-28 11:01:18
[Download RAW message or body]

On Mon, May 28, 2001 at 12:53:57PM +0200, Christoph Cullmann wrote:
> Am Montag, 28. Mai 2001 12:34 schrieb Matthias Ettrich:
> > On Monday 28 May 2001 11:15, Christoph Cullmann wrote:
> > > Hi,
> > > wouldn't it be a nice feature of KWin if it would let windows of type
> > > NET::Tool reside on top of the other windows of the app ? Or would that
> > > break NET standards ? I have no idea how to code it or if it is possible
> > > but it would maximise the use of the dockwidgets if they wouldn't be hide
> > > the whole time by the apps mainwindow and would stay on top of it.
> >
> > Those tool windows should do like other dialogs and set the transient_for
> > hint. Otherwise the window manager can't even tell they belong together,
> > and you don't want to keep them on top of _all_ windows.
> Stupid question, sorry: How can I set this hint ?

Specify a proper parent widget (like for dialogs) or call
XSetTransientForHint( qt_xdisplay(), yourwidget->winId(), theparentwidget->winId() );

Bye,
 Simon

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

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