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:
parent
fce43c420e
commit
eb61e372b0
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user