Create a *real* top level window

Carsten Haitzler (The Rasterman) raster at rasterman.com
Thu Sep 23 06:06:36 PDT 2010


On Thu, 23 Sep 2010 14:40:11 +0200 Eeri Kask <Eeri.Kask at mailbox.tu-dresden.de>
said:

> On 09/21/2010 09:00 PM, Adam Jackson <ajax at nwnk.net> wrote:
> >On Wed, 2010-09-15 at 15:49 -0600, Burton Samograd wrote:
> >> I'm looking for a way to create a full screen window that is
> >> 'always on top' no matter what is currently running.  I am
> >> currently using a standard window with OverrideRedirect set
> >> that raises itself every few seconds,
> 
> 
> To reduce probable unnecessary work, would tracking VisibilityNotify
> events help?
> 
> 
> BTW, as most WMs also deal with input focus management, and as most
> WMs wrongly ignore OverrideRedirect windows in practise, you have to
> forcefully 'recover' focus too on each FocusOut event... the same
> you raise the window (assuming your client expects input of course).
>   :-)

wrongfully ignore override-redirect? they have little choice. x11 core has
defined that they are to bypass the wm. no map redirects for them. dont blame
wm's.

> >> which works in pretty much
> >> all cases that I need it to except when the user has a
> >> screensaver running that locks the station.
> >>
> >> In this case it ends up fighting with the screensaver and
> >> password entry dialogue. This is not acceptable for what I am
> >> doing.
> >>
> >> So the question is: is there a way to create a window that is
> >> always topmost in the stacking order that can never be
> >> overridden?
> > Short of either being the window manager, or having a convention >
> with your window manager to achieve that, no.
> 
> 
> Just curious, how could a WM enforce some policy in that regard at
> all, say at Xlib level or otherwise (aside of the question if it
> should do anything in this respect at all)?  Isn't it much like the
> same as with 'focus'?
> 
> 
>     Eeri Kask
> 
> _______________________________________________
> xorg at lists.freedesktop.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> Your subscription address: raster at rasterman.com
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at rasterman.com




More information about the xorg mailing list