Removing decorations from a window

Jasper Huijsmans jasper at xfce.org
Mon Aug 22 21:30:03 CEST 2005


Chris Green schreef:
...
>>
>>Well, I only know that for GTK there exists a function 
>>gtk_window_set_decorated ();. I presume this function uses either motif 
>>hints or hints from the EWMH specification defined on freedesktop.org.
>>
> 
> Ah, but the "motif hints" (if that's what it uses) are deprecated
> because they're WM specific!  This is the rock and the hard place
> where I'm stuck.
> 

I checked for you (gdk/x11/gdkwindow-x11.c). Motif hints is indeed what 
they use. I presume there is no other way and I'm sure most if not all 
window managers support it.

> I can't find anything in Xlib that corresponds to this call and I want
> to do it from Xlib.
> 

Motif hints are an X property and you have to set it from Xlib, as far 
as I can tell.

	Jasper

PS
Please, don't CC me.



More information about the Xfce mailing list