From eb61e372b072400c419967c020b117af48357f79 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 12 Oct 2012 15:23:03 +0100 Subject: [PATCH] wayland: Initialise the repeat key to the expected default value The code for handling key repeats (and in particular stopping on focus loss) assumes that the repeat key is set to XKB_KEYCODE_INVALID in the default case. --- clutter/wayland/clutter-input-device-wayland.c | 1 + 1 file changed, 1 insertion(+) diff --git a/clutter/wayland/clutter-input-device-wayland.c b/clutter/wayland/clutter-input-device-wayland.c index 39ab989f2..4ef040714 100644 --- a/clutter/wayland/clutter-input-device-wayland.c +++ b/clutter/wayland/clutter-input-device-wayland.c @@ -518,6 +518,7 @@ clutter_input_device_wayland_class_init (ClutterInputDeviceWaylandClass *klass) static void clutter_input_device_wayland_init (ClutterInputDeviceWayland *self) { + self->repeat_key = XKB_KEYCODE_INVALID; } /**