[Info-vax] DECwindows: keep a window always on top?
FredK
fred.nospam at dec.com
Mon Sep 21 11:48:25 EDT 2009
The window attribute CWOverrideRedirect tells the window manager to keep
it's mitts off the window.
Normally when you create a window, the window manager intercepts the
creation to do things like wrap the window decorations around it. Setting
the above attribute tells the window manager to not redirect the window
creation and to leave it alone. That as a side effect means that the window
manager will ALSO not try to restack the window. The application (like the
workstation locked app) needs to handle events to make sure that it remains
on top - or can grab the pointer to prevent it.
But consider the question of how to keep a window always on top is tricky -
what happens when two applications try to do the same thing?
OverrideRedirect windows are also immoveable by using the window manager.
See the ICCM
http://tronche.com/gui/x/icccm/sec-4.html#s-4.1.10
"Michael Moroney" <moroney at world.std.spaamtrap.com> wrote in message
news:h8to0b$6lh$1 at pcls6.std.com...
> The "workstation locked" "window" is always on top when present, covering
> everything. Is there any way of figuring out how it does this and doing
> the same thing in an otherwise "normal" window? Or is it done in a
> way that's completely different and not doable by normal windows?
>
> Just a thought.
More information about the Info-vax
mailing list