mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
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:
parent
f97930eaf5
commit
5618e41cea
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user