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



commit e59a7bd3488c5a9ee0e8ff48787f093a1aa178d1
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]