mirror of
https://github.com/brl/mutter.git
synced 2025-03-17 08:45:03 +00:00

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