gtk2/gdk/wayland
Olivier Fourdan 4c533e17f5 wayland: do not cancel key repeat on key press
The key repeat is stopped as soon as a key is pressed, so if the user
quickly presses a key while another is already pressed and being
repeated, key repeat gets cancelled:

 - key1 press
 - key1 repeat
 - key2 press -> key1 repeat stopped
 - key1 release
 - key 2 is not repeated even though it's kept depressed

This is a different behavior from X11, which confuses migrating users.

To mimic the X11 behavior, keep track of the number of keys pressed
simultaneously and cancel key repeat only when none is pressed.

This way, if a user pressed a key while another one is being repeated,
the new key press can possibly be repeated as well.

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=778019
2017-02-27 11:53:03 +01:00
..
protocol wayland: Get tiled state from gtk_shell instead of xdg_shell 2016-08-25 12:31:40 +08:00
gdkapplaunchcontext-wayland.c wayland: Formatting fixes 2015-02-28 00:02:30 -05:00
gdkcursor-wayland.c Reduce a warning to a message 2016-10-17 19:11:32 -04:00
gdkdevice-wayland.c wayland: do not cancel key repeat on key press 2017-02-27 11:53:03 +01:00
gdkdisplay-wayland.c wayland: avoid an unnecessary g_list_length call 2017-01-16 21:42:05 -05:00
gdkdisplay-wayland.h wayland: Warn when an application tries to map popup incorrectly 2016-09-02 18:56:03 +08:00
gdkdnd-wayland.c API: gdk: Add gdk_window_new_popup() 2016-11-06 23:47:56 +01:00
gdkeventsource.c wayland: Don't warn if we loose the compositor connection 2016-11-30 13:45:04 -05:00
gdkglcontext-wayland.c wayland: Sync attributes also when drawing with GL 2016-12-06 18:02:11 +01:00
gdkglcontext-wayland.h gdk: Large GL refactoring 2016-12-05 15:02:47 +01:00
gdkkeys-wayland.c gdk/wayland: Don't add GDK_META_MASK to gdk mod masks if MOD1 is set 2017-01-17 18:24:28 +01:00
gdkmonitor-wayland.c wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkmonitor-wayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkprivate-wayland.h wayland: Sync attributes also when drawing with GL 2016-12-06 18:02:11 +01:00
gdkscreen-wayland.c gdk/wayland: Handle non-existant gsettings keys 2017-01-10 15:17:32 +01:00
gdkseat-wayland.h wayland: Remove GdkWaylandDataDevice typedef 2016-03-21 17:15:59 +01:00
gdkselection-wayland.c wayland: Add some more debug spew 2016-08-25 00:13:13 -04:00
gdkvulkancontext-wayland.c vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkvulkancontext-wayland.h vulkan: Use LGPL v2 2017-01-04 16:02:44 -02:00
gdkwayland.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylanddevice.h wayland: Offer wayland-specific method to set pad actions feedback 2016-08-23 21:01:45 +02:00
gdkwaylanddisplay.h gdkdisplay-wayland: Add API to set startup notification ID 2016-11-09 14:18:14 -05:00
gdkwaylandglcontext.h GL: Follow naming conventions 2014-10-21 23:48:12 -04:00
gdkwaylandmonitor.h wayland: Port to new monitor api 2016-04-27 23:18:16 -04:00
gdkwaylandselection.h Drop gdk_wayland_drag_context_get_dnd_window 2015-12-02 00:47:53 -05:00
gdkwaylandwindow.h API: wayland: Add gdk_wayland_window_new_subsurface() 2016-11-06 21:36:43 +01:00
gdkwindow-wayland.c wayland: Fix a race condition with xdg_popup resize 2017-02-24 10:07:17 +01:00
Makefile.am wayland: Add support for Vulkan renderer 2017-01-04 13:24:08 +01:00
wm-button-layout-translation.c wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00
wm-button-layout-translation.h wayland: Set gtk-decoration-layout 2014-06-06 15:32:59 +02:00