[clutter] wayland: Initialise the repeat key to the expected default value
- From: Rob Bradford <rbradford src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] wayland: Initialise the repeat key to the expected default value
- Date: Fri, 12 Oct 2012 14:27:13 +0000 (UTC)
commit eb61e372b072400c419967c020b117af48357f79
Author: Rob Bradford <rob linux intel com>
Date: Fri Oct 12 15:23:03 2012 +0100
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/clutter/wayland/clutter-input-device-wayland.c b/clutter/wayland/clutter-input-device-wayland.c
index 39ab989..4ef0407 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;
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]