Removing decorations from a window

roger rstmp at iinet.com.au
Tue Aug 23 11:31:04 CEST 2005


On Tue, 23 Aug 2005 05:10, Chris Green wrote:
> On Mon, Aug 22, 2005 at 05:40:53PM +0200, Benedikt Meurer wrote:
> > > 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.
> >
> > It's part of the MWM hints, which are supported by nearly every window
> > manager today, and it's completely independent of Xlib, GTK+, etc. (i.e.
> > XCB will do as well). It's simply a property on the window.
>
> OK, so can anyone tell me how I can get at this hint from Xlib
> functions please.
You may try:
	Widget wShell = ...;
	XtVaSetValues(wShell, XtNoverrideRedirect, True, 0);

Roger



More information about the Xfce mailing list