[openbox] patch to reload _MOTIF_WM_HINTS property when it changes

Daniel Erat dan-openbox at erat.org
Tue Jul 28 14:18:51 EDT 2009


On Tue, Jul 28, 2009 at 09:46, david <david at chalkskeletons.com> wrote:
> 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?

Sure -- just did, at http://bugzilla.icculus.org/show_bug.cgi?id=4250.


More information about the openbox mailing list