GNOME Bugzilla – Bug 678947
Make it possible to ignore GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED
Last modified: 2012-10-04 20:50:31 UTC
Created attachment 217351 [details] [review] prefs: add ignore-request-hide-titlebar setting This adds a "ignore-request-hide-titlebar" gsettings key which enables the possibility to prevent hiding the titlebar of applications even if they requested so. Implementing plugins based on mutter which don't want to or aren't ready to deal with GTK_IGNORE_REQUEST_HIDE_TITLEBAR are currently forced to follow the hard-coded behavior here.
Created attachment 217352 [details] [review] prefs: add ignore-request-hide-titlebar setting
Who would use this and why?
You talk in the commit message about plugins based on mutter - I'm not sure a gsetting is the best approach for that. Do you want a user setting, or do you want a plugin setting?
As far as I know it is for the elementary folks who work on a WM based on mutter, and yes, an API call sounds like the better choice here ...
Yeah an internal plugin setting would work too. Exposing an user-visible setting isnt really needed.
Comment on attachment 217352 [details] [review] prefs: add ignore-request-hide-titlebar setting (In reply to comment #5) > Yeah an internal plugin setting would work too. Exposing an user-visible > setting isnt really needed. Marking needs-work then to get it off the review list
Created attachment 217416 [details] [review] prefs: add get_/set_ignore_request_hide_titlebar () Made it an internal setting only.
Created attachment 217417 [details] [review] prefs: add get_/set_ignore_request_hide_titlebar ()
Review of attachment 217417 [details] [review]: Sure, this works for me.
Rico, were you going to push this?
Ah, apparently this was pushed a while back.