forked from AuroraMiddleware/gtk
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:
parent
5568dcb53c
commit
6c191b939d
@ -983,10 +983,6 @@ deliver_key_event(GdkWaylandDeviceData *device,
|
||||
}
|
||||
return FALSE;
|
||||
}
|
||||
else if (device->modifiers)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
else switch (device->repeat_count)
|
||||
{
|
||||
case 1:
|
||||
|
Loading…
Reference in New Issue
Block a user