Provide repeat parameter to handleExtendedKeyEvent
QtWayland uses this to discard key repeats. Modifier key repeats confuse xkbcommon. Change-Id: I3ea384aa7b750ff83520bfb2440e61b91bb6e354 Reviewed-by: Dan Cape <dcape@qnx.com> Reviewed-by: Johan Helsing <johan.helsing@qt.io>
This commit is contained in:
parent
fc95ad8616
commit
127533637e
@ -257,7 +257,7 @@ void QQnxScreenEventHandler::injectKeyboardEvent(int flags, int sym, int modifie
|
||||
capKeyString(cap, modifiers, key);
|
||||
|
||||
QWindowSystemInterface::handleExtendedKeyEvent(QGuiApplication::focusWindow(), type, key, qtMod,
|
||||
scan, virtualKey, modifiers, keyStr);
|
||||
scan, virtualKey, modifiers, keyStr, flags & KEY_REPEAT);
|
||||
qScreenEventDebug() << "Qt key t=" << type << ", k=" << key << ", s=" << keyStr;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user