input: use modifiersRelevantForGlobalShortcuts for tabbox events
This way, caps lock doesn't get in the way BUG: 453918
This commit is contained in:
parent
a4dd18c138
commit
2ea707585f
1 changed files with 1 additions and 1 deletions
|
@ -1623,7 +1623,7 @@ public:
|
||||||
passToWaylandServer(event);
|
passToWaylandServer(event);
|
||||||
|
|
||||||
if (event->type() == QEvent::KeyPress) {
|
if (event->type() == QEvent::KeyPress) {
|
||||||
workspace()->tabbox()->keyPress(event->modifiers() | event->key());
|
workspace()->tabbox()->keyPress(event->modifiersRelevantForGlobalShortcuts() | event->key());
|
||||||
} else if (static_cast<KeyEvent *>(event)->modifiersRelevantForGlobalShortcuts() == Qt::NoModifier) {
|
} else if (static_cast<KeyEvent *>(event)->modifiersRelevantForGlobalShortcuts() == Qt::NoModifier) {
|
||||||
workspace()->tabbox()->modifiersReleased();
|
workspace()->tabbox()->modifiersReleased();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue