From 6c191b939dca9aa9e3bdb4729ceafa1781cf55b0 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Mar 2013 17:43:50 -0400 Subject: [PATCH] wayland: Fix key repeat Key repeat under X is not affected by modifiers. And on some systems (e.g my Thinkpad), NumLock is permanently on, rendering key repeat nonfunctional. This commit changes the Wayland backend to do key repeat regardless of modifiers. http://bugzilla.gnome.org/show_bug.cgi?id=695497 --- gdk/wayland/gdkdevice-wayland.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c index 7bf2e0521f..162d4a5e44 100644 --- a/gdk/wayland/gdkdevice-wayland.c +++ b/gdk/wayland/gdkdevice-wayland.c @@ -983,10 +983,6 @@ deliver_key_event(GdkWaylandDeviceData *device, } return FALSE; } - else if (device->modifiers) - { - return FALSE; - } else switch (device->repeat_count) { case 1: