Commit 3813113f authored by Owen W. Taylor's avatar Owen W. Taylor

window-props.c: React to changes to _GTK_FRAME_EXTENTS

When _GTK_FRAME_EXTENTS changes, we need to redo constraints on
the window - this matters in particular if the toolkit removes
invisible borders when a window is maximized, since otherwise
the maximized window will be positioned as if it still has
invisible borders.

https://bugzilla.gnome.org/show_bug.cgi?id=714707
parent 1be117e4
...@@ -317,6 +317,9 @@ reload_gtk_frame_extents (MetaWindow *window, ...@@ -317,6 +317,9 @@ reload_gtk_frame_extents (MetaWindow *window,
{ {
window->has_custom_frame_extents = FALSE; window->has_custom_frame_extents = FALSE;
} }
if (!initial)
meta_window_queue(window, META_QUEUE_MOVE_RESIZE);
} }
static void static void
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment