[openbox] patch to reload _MOTIF_WM_HINTS property when it changes

david david at chalkskeletons.com
Tue Jul 28 12:46:14 EDT 2009


Daniel Erat wrote:
> The Chrome web browser has a feature where it draws its own window
> decorations.  When this setting is toggled, Chrome calls
> gtk_window_set_decorated(), which makes GTK change the window's
> requested decorated state via the _MOTIF_WM_HINTS property.  Openbox
> honors this property on new windows but doesn't currently reload it in
> response to PropertyNotify events, so already-open windows don't get
> updated when the setting is changed.  The attached patch "fixes" this
> (I use quotes because I can't find any specs describing how
> _MOTIF_WM_HINTS is supposed to be applied, although I've confirmed
> that both Metacity and Compiz reload it when it changes).
> 

Could you please post this to bugzilla so it does not get lost?

> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> openbox mailing list
> openbox at icculus.org
> http://icculus.org/mailman/listinfo/openbox



More information about the openbox mailing list