window: Move the extents storage above the rects

So all the rects are grouped together.
This commit is contained in:
Jasper St. Pierre 2014-05-21 13:22:59 -04:00
parent efcd7d86e7
commit 3168d3b5e6

View File

@ -400,6 +400,9 @@ struct _MetaWindow
/* window that gets updated net_wm_user_time values */ /* window that gets updated net_wm_user_time values */
Window user_time_window; Window user_time_window;
gboolean has_custom_frame_extents;
GtkBorder custom_frame_extents;
/* The size we set the window to last (i.e. what we believe /* The size we set the window to last (i.e. what we believe
* to be its actual size on the server). The x, y are * to be its actual size on the server). The x, y are
* the actual server-side x,y so are relative to the frame * the actual server-side x,y so are relative to the frame
@ -409,9 +412,6 @@ struct _MetaWindow
*/ */
MetaRectangle rect; MetaRectangle rect;
gboolean has_custom_frame_extents;
GtkBorder custom_frame_extents;
/* The geometry to restore when we unmaximize. The position is in /* The geometry to restore when we unmaximize. The position is in
* root window coords, even if there's a frame, which contrasts with * root window coords, even if there's a frame, which contrasts with
* window->rect above. Note that this gives the position and size * window->rect above. Note that this gives the position and size