[mutter] window: Remove Wayland code from `meta_window_show()`



commit 5618e41ceaa2c2396bbd05482767fd23496e31bb
Author: Olivier Fourdan <ofourdan redhat com>
Date:   Wed Jan 29 15:23:22 2020 +0100

    window: Remove Wayland code from `meta_window_show()`
    
    As we now call `meta_wayland_compositor_repick()` when the effects are
    complete for Wayland surfaces, we can safely remove the Wayland specific
    code to do the same from `meta_window_show()`.
    
    https://gitlab.gnome.org/GNOME/mutter/merge_requests/1026

 src/core/window.c | 5 -----
 1 file changed, 5 deletions(-)
---
diff --git a/src/core/window.c b/src/core/window.c
index 509c78409..245218508 100644
--- a/src/core/window.c
+++ b/src/core/window.c
@@ -2579,11 +2579,6 @@ meta_window_show (MetaWindow *window)
   if (did_show)
     meta_display_queue_check_fullscreen (window->display);
 
-#ifdef HAVE_WAYLAND
-  if (did_show && window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
-    meta_wayland_compositor_repick (meta_wayland_compositor_get_default ());
-#endif
-
   /*
    * Now that we have shown the window, we no longer want to consider the
    * initial timestamp in any subsequent deliberations whether to focus this


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