Jonas Ådahl 2dbacfa8d6 wayland/keyboard: Accept key down serial after key up for popups
If a client maps a popup in response to a key-down event, but the
mapping doesn't occur until after the user has already released the same
button, we'd immediately dismiss the popup. This is problematic, as one
often presses and releases a key quite quickly, meaning any popup mapped
on key-down are likely to be dismissed.

Avoid this race condition by accepting serials for key down events, if
the most recent key-up event had the same keycode.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/180
2018-08-15 08:51:14 +00:00
..
2018-07-30 17:48:42 +00:00
2018-07-06 19:47:16 +02:00
2015-07-05 22:01:59 -07:00
2015-07-05 22:01:59 -07:00
2018-07-24 13:16:36 +00:00