GNOME Bugzilla – Bug 705765
gtkwindow: Export our custom frame extents
Last modified: 2013-08-13 14:39:33 UTC
This is for proper CSD support. Currently, we only have integration with mutter, but there's a proposal to standardize this as part of EWMH.
Created attachment 251272 [details] [review] gtkwindow: Export our custom frame extents This allows CSD windows to be maximized, tiled, and constrained properly.
Review of attachment 251272 [details] [review]: ::: gtk/gtkwindow.c @@ +6420,3 @@ + } +#endif +} Should probably go to gdkwindow-x11.c, as gdk_x11_window_set_frame_extents(). Compare gdk_x11_window_set_theme_variant() @@ +6498,3 @@ priv->title_height; + + update_frame_extents (window, &window_border); Should you only set this if priv->client_decorated is TRUE ? Also, do you have to call it in the priv->fullscreen case too, to set the frame extents to 0 ?
Created attachment 251403 [details] [review] gtkwindow: Export our custom frame extents This allows CSD windows to be maximized, tiled, and constrained properly.
Review of attachment 251403 [details] [review]: Add a doc comment for the new api, and its good to.
Attachment 251403 [details] pushed as 8818d8a - gtkwindow: Export our custom frame extents