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
This commit is contained in:
Olivier Fourdan 2020-01-29 15:23:22 +01:00
parent f97930eaf5
commit 5618e41cea

View File

@ -2579,11 +2579,6 @@ meta_window_show (MetaWindow *window)
if (did_show) if (did_show)
meta_display_queue_check_fullscreen (window->display); 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 * Now that we have shown the window, we no longer want to consider the
* initial timestamp in any subsequent deliberations whether to focus this * initial timestamp in any subsequent deliberations whether to focus this