Re: gdk_window_set_decorations



Hmmm, I've tried that but it doesn't kick in :). If a call to gdk_window_set_decorations (window, GDK_DECOR_ALL) is made that seems to turn off the decorations. So then would another call with GDK_DECOR_ALL turn them back on? I lookes at the source code in XMMS and what I found out is that the XMMS window is actually destroyed and then redrawn when the user toggles the WM decorations on. Are some window managers more "compliant" with the GTK/GDK calls? I'm running WindowMaker and except for this issue I've had no "incompatibilities".

Thanks.

Havoc Pennington wrote:
Marco Quezada <mquezada nlxcorp com> writes:
Is there a way to restore the window manager decorations on a
GdkWindow after gdk_window_set_decorations has been called to remove
these?


Just set them to GDK_DECOR_ALL, the window manager is supposed to
honor that.

Havoc


-- 
Marco Quezada
Aerospaceo Engineero
NLX Corporation
22626 Sally Ride Dr.
Sterling, VA, 20164
mquezada nlxcorp com
703-234-2100 x1028
http://www.nlxcorp.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]