GNOME Bugzilla – Bug 720913
update window button settings for csd
Last modified: 2014-02-12 17:08:24 UTC
For csd windows with header bars, GTK+ now looks at the Gtk/DecorationLayout xsetting. The format of the string looks like this: menu:minimize,maximize,close for a menu button (app menu fallback) on the left, and min/max/close on the right. To set this, you should add a suitable entry to the org.gnome.settings-daemon.plugins.xsettings overrides setting, e.g.: {'Gtk/DecorationLayout': <':minimize,maximize,close'>}
Created attachment 264844 [details] [review] add support for csd windows with header bars
Ping, would be great to get this merged
Alex - go ahead and commit this to master. We actually depend on this new layout since bug 722017 was committed.
Created attachment 266231 [details] [review] add support for csd windows with header bars
See also bug 723669, which has a different approach on this (and would require no change from gnome-tweak-tool)
Thanks Giovanni - I will keep an eye on that bug. Alex, what was the problem you mentioned you had with your patch?
Sorry for the delay! the patch works, the problem is when more than one tweak that depends of the xsettings is changed, only the last changed tweak is applied.
(In reply to comment #7) > Sorry for the delay! > the patch works, the problem is when more than one tweak that depends of the > xsettings is changed, only the last changed tweak is applied. Did you try and fix this? I think the xsettingsmanager should be a singleton, so you are probbably just seeing some async race condition. It should not be too hard to fix...
Review of attachment 266231 [details] [review]: Pushed as f79ab44