Files
gtk/gdk
Dan Torop d9a9530f28 wayland: selectively cancel key repeat on key release
Under Wayland, when multiple keys are pressed and the user releases a
key, key repeat should continue unless the key released is the one
currently repeating.

In the case of:

- key1 press
- key1 repeat
- key2 press -> key1 repeat stopped
- key2 repeat
- key2 release

The behavior should be to cancel keyboard repeat, though key1 is still
held down. This is consistent with prior X11/XWayland behavior.

The following also must work:

- key1 press
- key2 press
- key2 release
- key2 press
- key1 release
- key2 should continue to repeat

The fix for bug #778019 should continue to work:

- key1 press
- key1 repeat
- key2 press -> key1 repeat stopped
- key1 release
- key2 should repeat

The choice to change the counter nkeys to the flag repeat_active
helps to solve the second test case.

https://bugzilla.gnome.org/show_bug.cgi?id=781285
2017-06-02 19:18:05 +02:00
..
2017-04-03 13:29:59 -04:00
2017-03-26 15:05:37 +01:00
2017-05-22 14:26:32 +01:00
2016-06-29 15:10:39 +02:00
2016-08-23 21:01:44 +02:00
2016-06-09 17:45:40 +01:00
2016-05-17 14:16:39 -04:00
2015-05-08 13:34:25 -04:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-05-08 15:34:28 +02:00
2017-03-13 03:52:06 -04:00
2016-06-09 17:45:40 +01:00
2016-04-30 21:06:38 -04:00
2014-11-06 12:24:43 +01:00
2016-05-08 15:34:28 +02:00
2016-04-27 23:18:16 -04:00
2016-04-18 11:46:58 -04:00
2014-08-30 00:53:21 -04:00
2015-10-03 22:26:27 -04:00
2014-06-11 21:55:15 -04:00
2016-10-28 06:04:58 +02:00
2016-10-28 06:04:58 +02:00
2013-07-17 17:52:19 -04:00