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
This commit is contained in:
Matthias Clasen 2013-03-22 17:43:50 -04:00
parent 5568dcb53c
commit 6c191b939d

View File

@ -983,10 +983,6 @@ deliver_key_event(GdkWaylandDeviceData *device,
}
return FALSE;
}
else if (device->modifiers)
{
return FALSE;
}
else switch (device->repeat_count)
{
case 1: