Derrik Pates <[EMAIL PROTECTED]> writes:

> On Tue, 4 Dec 2001, Daniel Secrieru wrote:
> 
> >     They don't have a title bar.
> 
> And that's why there are WM hints, so you can tell the WM "hey, don't
> decorate me!"

For transient popups like menus, the correct thing to do is to set the
window "override redirect" (option in XWindowAttributes); as long
as you have the pointer grabbed, this works fine.

For undecorated windows that stick around, you need to use window 
manager hints - the ICCCM doesn't have anything in this line, but
there are:

 - The motif window manager hints which include control over
   decorations (never documented, but you can find code using
   them in a lot of places)

 - The Extended window manager hint spec (http://www.freedesktop.org/standards/)
   which includes semantic hints that typically produce undecorated 
   windows. ("I am a tearoff toolbar")

Regards
                                        Owen

 
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to