From 5618e41ceaa2c2396bbd05482767fd23496e31bb Mon Sep 17 00:00:00 2001 From: Olivier Fourdan Date: Wed, 29 Jan 2020 15:23:22 +0100 Subject: [PATCH] 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