[mutter/wayland] window: Always save the user_rect when resizing Wayland windows



commit a8849621c9ca4c7b26c4780981a926447c4017c2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Tue Mar 11 12:27:44 2014 -0400

    window: Always save the user_rect when resizing Wayland windows
    
    The user_rect represents the unconstrainted window size, and lots
    of code in mutter assumes it can resize to the user_rect at any
    time. If we wait for an attach to ACK and save the user rect, we'll
    see lots of flickering as code is resizing to the old user_rect
    at any time.

 src/core/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index a530a0c..40d0590 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -5082,6 +5082,7 @@ meta_window_move_resize_wayland (MetaWindow *window,
 
   meta_window_move_resize_internal (window, flags, NorthWestGravity,
                                     x, y, width, height);
+  save_user_window_placement (window);
 }
 
 /**


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]