Commit 5794bdd5 authored by Mihail Konev's avatar Mihail Konev Committed by Peter Hutterer

xkb: fix turbo-repeat of RedirectKey-ed keysyms

RedirectKey() action had been broken by commit 2e6190.
A dropped check caused over-intense autorepeat of keysyms enriched
with the action.

Previous to this commit, the check wrapped the entire switch() block,
which was dropped with the move to a separate function.

Restore the checking.
Signed-off-by: 's avatarMihail Konev <k.mvc@ya.ru>
Reviewed-by: 's avatarDaniel Stone <daniels@collabora.com>
Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
parent fc1c358b
......@@ -1337,7 +1337,8 @@ XkbHandleActions(DeviceIntPtr dev, DeviceIntPtr kbd, DeviceEvent *event)
}
sendEvent = _XkbApplyFilters(xkbi, key, &act);
XkbActionGetFilter(dev, event, key, &act, &sendEvent);
if (sendEvent)
XkbActionGetFilter(dev, event, key, &act, &sendEvent);
}
else {
if (!keyEvent)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment