gtk2/gdk
Olivier Fourdan 4146d7f3cc 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 10:14:49 +01:00
..
broadway Opt in to structured logging 2016-07-22 23:13:20 -04:00
deprecated
mir mir: handle surface placement events 2017-01-30 03:40:18 -05:00
quartz quartz: Fix typo that broke debug builds 2016-08-22 09:23:02 +01:00
resources/glsl Use GLSL version 110 for OpenGL 2 shaders. 2016-11-01 11:58:16 -03:00
wayland wayland: do not cancel key repeat on key press 2017-02-27 10:14:49 +01:00
win32 GDK W32: Handle drivers that do not send WT_CSRCHANGE after WT_PROXIMITY 2017-02-19 07:12:13 +00:00
x11 gdk: Ensure GdkDragContext instantly updates drag window position 2017-02-17 19:30:46 +01:00
COPYING
fallback-c89.c
gdk-autocleanup.h
gdk-private.c gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdk-private.h gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdk.c gdk: actually fix the previous commit 2016-06-29 15:10:39 +02:00
gdk.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkapplaunchcontext.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkapplaunchcontext.h
gdkapplaunchcontextprivate.h
gdkcairo.c
gdkcairo.h gdk: Deprecate gdk_cairo_create() 2016-06-09 17:45:40 +01:00
gdkconfig.h.win32
gdkconfig.h.win32_broadway
gdkcursor.c Update cursor docs 2016-05-17 14:16:39 -04:00
gdkcursor.h
gdkcursorprivate.h
gdkdeprecated.c
gdkdevice.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkdevice.h gdkdevice: Add GDK_SOURCE_TABLET_PAD input source type for GdkDevices 2016-08-23 21:01:44 +02:00
gdkdevicemanager.c Move GdkDeviceManager to deprecated section 2016-04-03 23:41:20 -04:00
gdkdevicemanager.h
gdkdevicemanagerprivate.h
gdkdevicepad.c gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepad.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdevicepadprivate.h gdk: Add GdkDevicePad 2016-08-23 21:01:44 +02:00
gdkdeviceprivate.h gdk: Add a private getter for GdkDevice::input-mode 2016-04-30 20:52:23 -04:00
gdkdevicetool.c gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdevicetool.h gdk: Add a getter for the hardware id of a GdkDeviceTool 2016-08-23 21:01:44 +02:00
gdkdevicetoolprivate.h gdk: Pass hardware ID on gdk_device_tool_new() 2016-08-23 21:01:44 +02:00
gdkdisplay.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkdisplay.h gdk: Fix parameter name mismatch 2016-05-08 15:34:28 +02:00
gdkdisplaymanager.c gdk: Add a way to show included backends 2016-02-18 22:03:12 -05:00
gdkdisplaymanager.h
gdkdisplaymanagerprivate.h
gdkdisplayprivate.h display: Add vfunc for get_monitor_at_window 2016-05-18 19:07:27 +02:00
gdkdnd.c Add some missing (nullable) annotations 2016-09-22 14:02:07 +02:00
gdkdnd.h
gdkdndprivate.h gdk/dnd: Don't use default display when getting cursor 2016-04-26 23:03:24 +08:00
gdkdrawingcontext.c gdk: Unset the DrawingContext <-> cairo_t link on dispose 2016-06-12 18:55:34 +01:00
gdkdrawingcontext.h Add GdkDrawingContext 2016-06-09 17:45:40 +01:00
gdkdrawingcontextprivate.h Add GdkDrawingContext 2016-06-09 17:45:40 +01:00
gdkenumtypes.c.template
gdkenumtypes.h.template
gdkevents.c gdk: Add pad event structs, enum values, and event mask bit 2016-08-23 21:01:44 +02:00
gdkevents.h gdk: Add pad event structs, enum values, and event mask bit 2016-08-23 21:01:44 +02:00
gdkframeclock.c Trivial whitespace fix 2016-04-30 21:06:38 -04:00
gdkframeclock.h
gdkframeclockidle.c frame-clock: avoid g_signal_emit_by_name() 2016-04-18 15:33:53 -07:00
gdkframeclockidle.h
gdkframeclockprivate.h frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.c frametimings: reuse previous frame timing in common case 2016-04-26 09:06:07 -04:00
gdkframetimings.h
gdkgl.c gl: Check for GL_EXT_framebuffer_blit before using glBlitFramebuffer 2016-12-14 20:55:21 +00:00
gdkglcontext.c GdkGLContext: chain finalize handler 2016-11-10 14:35:06 -05:00
gdkglcontext.h gdk/gl: Allow autodetection for GL/GLES 2016-10-21 11:41:43 -04:00
gdkglcontextprivate.h gl: Use a uniform to flip R and B colors on GLES 2016-04-25 14:33:36 +01:00
gdkglobals.c
gdkinternals.h gdkwindow: store transient_for window 2016-07-19 09:38:54 -04:00
gdkintl.h
gdkkeynames.c
gdkkeys.c Add some missing (nullable) annotations 2016-09-22 14:02:07 +02:00
gdkkeys.h
gdkkeysprivate.h
gdkkeysyms-compat.h
gdkkeysyms-update.pl
gdkkeysyms.h
gdkkeyuni.c GDK W32: Cache multiple keyboard layouts simultaneously 2016-08-04 16:37:18 +00:00
gdkmain.h Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkmarshalers.list gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkmonitor.c GdkMonitor: Fix refresh-rate property 2016-05-02 12:42:13 -04:00
gdkmonitor.h gdk: Fix parameter name mismatch 2016-05-08 15:34:28 +02:00
gdkmonitorprivate.h Add GdkMonitor 2016-04-27 23:18:16 -04:00
gdkoffscreenwindow.c
gdkpango.c Add docs for new API 2016-04-18 11:46:58 -04:00
gdkpango.h Add gdk_pango_context_get_for_display 2016-04-18 07:04:44 -04:00
gdkpixbuf-drawable.c
gdkpixbuf.h
gdkprivate.h Make gdk_event_get_pointer_emulated public 2016-05-10 15:16:45 -04:00
gdkproperty.c
gdkproperty.h
gdkrectangle.c
gdkrectangle.h
gdkrgba.c
gdkrgba.h
gdkscreen.c Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkscreen.h Deprecate more to-be-removed screen apis 2016-10-20 13:44:23 -04:00
gdkscreenprivate.h
gdkseat.c gdk: Add GdkSeat::tool-added/removed signals 2016-04-06 15:43:29 +02:00
gdkseat.h
gdkseatdefault.c Move GdkDeviceTool into its own files 2016-04-09 15:48:34 -04:00
gdkseatdefaultprivate.h GdkSeatDefault: Add functions to add/remove tools 2016-04-06 15:43:29 +02:00
gdkseatprivate.h gdk: Add GdkSeat::tool-added/removed signals 2016-04-06 15:43:29 +02:00
gdkselection.c
gdkselection.h
gdktestutils.h
gdkthreads.h
gdktypes.h gdk: Add pad event structs, enum values, and event mask bit 2016-08-23 21:01:44 +02:00
gdkversionmacros.h.in Revert "Add GDK_AVAILABLE_IN_3_90" 2016-10-06 16:42:22 +02:00
gdkvisual.c visual: Deprecate querying APIs 2016-10-28 06:04:58 +02:00
gdkvisual.h visual: Deprecate querying APIs 2016-10-28 06:04:58 +02:00
gdkvisualprivate.h gdk: calculate pixel color shift and precision lazily 2016-02-27 12:27:54 +01:00
gdkwindow.c gdkwindow: subsurface in gdk_window_get_effective_parent() 2017-02-23 14:10:56 +01:00
gdkwindow.h Deprecate gdk_window_process[_all]_updates 2017-01-10 20:25:15 -05:00
gdkwindowimpl.c gdkwindow: Use toplevel for getting root cords in move_to_rect() 2016-08-18 04:51:57 -04:00
gdkwindowimpl.h gdkwindow: add gdk_window_move_to_rect () 2016-07-19 09:38:54 -04:00
gdkx.h
gen-keyname-table.pl
keyname-table.h
keynames-translate.txt
keynames.txt
Makefile.am gdk/Makefile.am: fixed glsl resources extra dist files. 2016-10-31 10:14:42 -03:00
makefile.msc