summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/window.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/window.c b/src/core/window.c
index b5f63363..3c1fa641 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -3029,6 +3029,11 @@ meta_window_unmake_fullscreen (MetaWindow *window)
*/
ensure_size_hints_satisfied (&target_rect, &window->size_hints);
+ /* Need to update window->has_resize_func before we move_resize()
+ */
+ recalc_window_features (window);
+ set_net_wm_state (window);
+
meta_window_move_resize (window,
FALSE,
target_rect.x,
@@ -3041,9 +3046,6 @@ meta_window_unmake_fullscreen (MetaWindow *window)
force_save_user_window_placement (window);
meta_window_update_layer (window);
-
- recalc_window_features (window);
- set_net_wm_state (window);
}
}