diff options
author | Owen W. Taylor <otaylor@fishsoup.net> | 2013-11-22 08:57:44 -0500 |
---|---|---|
committer | Owen W. Taylor <otaylor@fishsoup.net> | 2013-12-05 09:06:26 -0500 |
commit | 3813113f1a3dea959113b5ee7e656c4e66552295 (patch) | |
tree | 65276bcb12f2924ec2e8e7d273c5055f3e43fa6d | |
parent | 1be117e430b99215e57567612cacebf1af0a24f0 (diff) | |
download | mutter-3813113f1a3dea959113b5ee7e656c4e66552295.tar.gz |
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
-rw-r--r-- | src/core/window-props.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/window-props.c b/src/core/window-props.c index 1c7992988..cd4d012ae 100644 --- a/src/core/window-props.c +++ b/src/core/window-props.c @@ -317,6 +317,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 |