[Info-vax] DECwindows: keep a window always on top?
FredK
fred.nospam at dec.com
Wed Sep 23 09:14:51 EDT 2009
"Phillip Helbig---remove CLOTHES to reply" <helbig at astro.multiCLOTHESvax.de>
wrote in message news:h9b996$jd8$1 at online.de...
> In article <h98771$m97$1 at usenet01.boi.hp.com>, "FredK"
> <fred.nospam at dec.com> writes:
>
> Thanks for the pointer; I'll research when I have time.
>
>> The window attribute CWOverrideRedirect tells the window manager to keep
>> it's mitts off the window.
>
> Can I set this in a resource file or from DCL?
>
>
This is set by the application when it creates the window.
I'm not a Motif application expert, but...
When the various GUI's for X11 were first created, the GUI Nazi's determined
that users not programs should do things like dictate window position - the
application could provide "hints" to determine where things should appear -
but that ultimately the window manager and the user would actually control
things manually. They did try to handle things like popup windows
(WM_TRANSIENT_FOR if I remember correctly). They also needed to deal with
specific requirements - like windows that had to be outside the control of
the window manager (which is why there is override direct).
So if your application window absolutely positively must remain on top you
need to specifically deal with it in the code by a combination of either
override redirect and/or handling stacking events and forcing yourself back
to the top. *Forcing* the window to always be in a specific place is
trickier and usually requires override redirect.
More information about the Info-vax
mailing list