diff options
-rw-r--r-- | src/core/window.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/window.c b/src/core/window.c index 93548133..ccee7ae3 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -3910,6 +3910,12 @@ meta_window_move_resize_internal (MetaWindow *window, else if (is_user_action) save_user_window_placement (window); + if (frame_shape_changed && window->frame_bounds) + { + cairo_region_destroy (window->frame_bounds); + window->frame_bounds = NULL; + } + if (need_move_frame || need_resize_frame || need_move_client || need_resize_client) { @@ -3939,12 +3945,6 @@ meta_window_move_resize_internal (MetaWindow *window, * b) all constraints are obeyed by window->rect and frame->rect */ - if (frame_shape_changed && window->frame_bounds) - { - cairo_region_destroy (window->frame_bounds); - window->frame_bounds = NULL; - } - meta_window_foreach_transient (window, maybe_move_attached_dialog, NULL); } |