mirror of
https://github.com/brl/mutter.git
synced 2025-01-29 12:58:56 +00:00
461f74ef18
When we have a new client, we potentially set the focus on one of its surfaces when we map it but the client might not have called wl_seat.get_keyboard/pointer yet. When it finally calls get_keyboard/pointer we must then register its resource as the focus_resource which means that we can only return early if focus_resource is already set. https://bugzilla.gnome.org/show_bug.cgi?id=719725