[mutter/wip/rstrode/rhel-8.0.0: 2/30] Revert "window/wayland: Always update monitor for non-user ops"



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