GNOME Bugzilla – Bug 706529
CSD fixes for mutter/gnome-shell
Last modified: 2013-08-22 13:44:19 UTC
work that mclasen and I discussed today
Created attachment 252647 [details] [review] gtkwindow: Rename title_icon, etc. to titlebar_icon "title_box" is used for both a custom header bar and for a titlebar. Since we want to help differentiate these cases in the code, rename everything titlebar-internal to use "titlebar_".
Created attachment 252648 [details] [review] gtkwindow: Have a separate "titlebar" pointer for decorations we create ourselves This cleans up the code a bit.
Created attachment 252649 [details] [review] gtkwindow: Split code that detects if we want CSD out This will get a bit more complex when we enable CSD for custom headerbars
Created attachment 252650 [details] [review] gtkwindow: Disable CSD if we aren't running under a supported WM or are uncomposited
Created attachment 252651 [details] [review] gtkwindow: Enable CSD when windows set a titlebar
Attachment 252647 [details] pushed as cae2b69 - gtkwindow: Rename title_icon, etc. to titlebar_icon Attachment 252648 [details] pushed as a95cabd - gtkwindow: Have a separate "titlebar" pointer for decorations we create ourselves Attachment 252649 [details] pushed as 7462de8 - gtkwindow: Split code that detects if we want CSD out Attachment 252651 [details] pushed as 51f2295 - gtkwindow: Enable CSD when windows set a titlebar