From ff790f7b39c066f2dfc02c72c0f15d07e0cd4705 Mon Sep 17 00:00:00 2001 From: "Owen W. Taylor" Date: Fri, 22 Nov 2013 08:57:44 -0500 Subject: [PATCH] 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 --- src/core/window-props.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/core/window-props.c b/src/core/window-props.c index 13ee3bbdb..c03df1a1e 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -316,6 +316,9 @@ reload_gtk_frame_extents (MetaWindow *window, { window->has_custom_frame_extents = FALSE; } + + if (!initial) + meta_window_queue(window, META_QUEUE_MOVE_RESIZE); } static void