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-05-09 14:30:40 +01:00
2015-04-17 11:16:30 -05:00
2017-04-03 13:29:59 -04:00
2017-04-10 16:40:05 -07:00
2016-11-01 11:58:16 -03:00
2017-06-02 19:18:05 +02:00
2017-02-19 07:12:13 +00:00
2017-03-26 15:05:37 +01:00
2017-05-22 14:26:32 +01:00
2015-02-02 09:28:22 +01:00
2016-07-19 09:38:54 -04:00
2016-07-19 09:38:54 -04:00
2016-06-29 15:10:39 +02:00
2016-08-23 21:01:44 +02:00
2016-10-20 13:44:23 -04:00
2013-05-05 15:38:46 -04:00
2015-02-25 01:55:28 +01:00
2016-06-09 17:45:40 +01:00
2013-05-28 13:04:37 +08:00
2013-08-02 11:20:19 +08:00
2016-05-17 14:16:39 -04:00
2015-05-08 13:34:25 -04:00
2013-08-07 13:34:10 +02:00
2014-02-19 18:56:05 -05:00
2016-10-20 13:44:23 -04:00
2016-08-23 21:01:44 +02:00
2016-04-03 23:41:20 -04:00
2015-12-15 00:40:21 +01: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-04-30 20:52:23 -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-10-20 13:44:23 -04:00
2016-05-08 15:34:28 +02:00
2017-03-13 03:52:06 -04:00
2013-05-05 15:38:46 -04:00
2016-05-18 19:07:27 +02:00
2016-09-22 14:02:07 +02:00
2016-02-15 18:35:51 +01:00
2016-04-26 23:03:24 +08:00
2016-06-12 18:55:34 +01:00
2016-06-09 17:45:40 +01:00
2016-06-09 17:45:40 +01:00
2014-12-08 19:31:56 -05:00
2016-08-23 21:01:44 +02:00
2016-08-23 21:01:44 +02:00
2016-04-30 21:06:38 -04:00
2014-12-08 19:31:56 -05:00
2016-04-18 15:33:53 -07:00
2014-09-05 20:44:22 -04:00
2016-04-26 09:06:07 -04:00
2016-04-26 09:06:07 -04:00
2014-12-08 19:31:56 -05:00
2016-12-14 20:55:21 +00:00
2016-11-10 14:35:06 -05:00
2016-10-21 11:41:43 -04:00
2016-04-25 14:33:36 +01:00
2014-11-06 12:24:43 +01:00
2016-07-19 09:38:54 -04:00
2016-09-22 14:02:07 +02:00
2015-04-27 20:07:52 -03:00
2015-04-27 20:07:52 -03:00
2013-07-17 16:40:05 -04:00
2016-08-04 16:37:18 +00:00
2016-10-20 13:44:23 -04:00
2016-07-19 09:38:54 -04:00
2016-05-02 12:42:13 -04:00
2016-05-08 15:34:28 +02:00
2016-04-27 23:18:16 -04:00
2015-12-03 21:47:29 +00:00
2016-04-18 11:46:58 -04:00
2016-04-18 07:04:44 -04:00
2015-12-16 12:42:27 +00:00
2013-05-05 15:38:46 -04:00
2016-05-10 15:16:45 -04:00
2014-08-30 00:53:21 -04:00
2013-05-05 15:38:46 -04:00
2016-01-20 13:44:34 -05:00
2015-10-03 22:26:27 -04:00
2016-02-02 15:08:10 +00:00
2013-05-05 15:38:46 -04:00
2016-10-20 13:44:23 -04:00
2016-10-20 13:44:23 -04:00
2014-07-13 15:35:23 -04:00
2016-04-06 15:43:29 +02:00
2015-12-22 10:33:41 +01:00
2016-04-09 15:48:34 -04:00
2016-04-06 15:43:29 +02:00
2016-04-06 15:43:29 +02:00
2014-05-19 11:47:59 -07:00
2014-06-11 21:55:15 -04:00
2013-05-05 15:38:46 -04:00
2013-05-05 15:38:46 -04:00
2016-08-23 21:01:44 +02:00
2016-10-06 16:42:22 +02:00
2016-10-28 06:04:58 +02:00
2016-10-28 06:04:58 +02:00
2016-02-27 12:27:54 +01:00
2017-04-03 19:16:10 +02:00
2017-01-10 20:25:15 -05:00
2016-08-18 04:51:57 -04:00
2016-07-19 09:38:54 -04:00
2014-02-07 14:22:39 -05:00
2013-07-17 17:52:19 -04:00
2013-10-24 18:48:33 -04:00
2017-05-09 14:19:51 +01:00