[mutter/wip/texture-purge-on-nvidia: 65/66] Revert "window/wayland: Always update monitor for non-user ops"



commit a835d17fd2b07c2c66e44b83888d5f17ed9bd85a
Author: Ray Strode <rstrode redhat com>
Date:   Tue Jan 8 09:55:48 2019 -0500

    Revert "window/wayland: Always update monitor for non-user ops"
    
    This reverts commit e0db7d75c924a07da2b366c9c9e5075dd7bea6e6.

 src/wayland/meta-window-wayland.c | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/wayland/meta-window-wayland.c b/src/wayland/meta-window-wayland.c
index 415fd50d7..241e6b61c 100644
--- a/src/wayland/meta-window-wayland.c
+++ b/src/wayland/meta-window-wayland.c
@@ -419,12 +419,6 @@ meta_window_wayland_update_main_monitor (MetaWindow                   *window,
       return;
     }
 
-  if (!user_op)
-    {
-      window->monitor = to;
-      return;
-    }
-
   from_scale = meta_logical_monitor_get_scale (from);
   to_scale = meta_logical_monitor_get_scale (to);
 


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