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.
This commit is contained in:
Rob Bradford 2012-10-12 15:23:03 +01:00
parent fce43c420e
commit eb61e372b0

View File

@ -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;
}
/**