buttonrebinds: Fix Meta modifier
Devices send evdev keycodes not xkb keycodes.
This commit is contained in:
parent
e22c6160fa
commit
2f03d1f940
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@ bool ButtonRebindsFilter::pointerEvent(QMouseEvent *event, quint32 nativeButton)
|
|||
sendKey(KEY_LEFTALT);
|
||||
}
|
||||
if (key & Qt::MetaModifier) {
|
||||
sendKey(XKB_KEY_Super_L);
|
||||
sendKey(KEY_LEFTMETA);
|
||||
}
|
||||
|
||||
sendKey(keyCode.value());
|
||||
|
|
Loading…
Reference in a new issue