[gtk+] wayland: Fix key repeat



commit 6c191b939dca9aa9e3bdb4729ceafa1781cf55b0
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Mar 22 17:43:50 2013 -0400

    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 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/gdk/wayland/gdkdevice-wayland.c b/gdk/wayland/gdkdevice-wayland.c
index 7bf2e05..162d4a5 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:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]