Commit 3f022ca9 authored by Rui Matos's avatar Rui Matos

window: Possibly set the pointer focus on newly mapped wayland windows

Windows showing up under the pointer must get the pointer focus.

https://bugzilla.gnome.org/show_bug.cgi?id=719725
parent 20e92c5a
......@@ -3369,6 +3369,9 @@ meta_window_show (MetaWindow *window)
if (did_show)
meta_screen_queue_check_fullscreen (window->screen);
if (did_show && window->client_type == META_WINDOW_CLIENT_TYPE_WAYLAND)
meta_wayland_compositor_repick (meta_wayland_compositor_get_default ());
/*
* Now that we have shown the window, we no longer want to consider the
* initial timestamp in any subsequent deliberations whether to focus this
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment