diff options
author | Liang Qi <liang.qi@qt.io> | 2023-02-23 13:01:25 +0100 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2023-02-23 15:42:15 +0100 |
commit | 101e57d37c3b1c1c24173f1b37f54f9efaedc329 (patch) | |
tree | 53f8174f6ff83bdd79aaff8466d95a4d9f2fc7b7 /src/gui/platform/unix/qxkbcommon_p.h | |
parent | 3486583ec3eaa9613908d923479900d08de3501a (diff) |
Revert "qxkbcommon: Treat XKB_KEY_{Super,Hyper}_{L,R} as Qt::Key_Meta by default"
This reverts commit 610bafdfc58e90f24e3908e1a5932e2f510eac7e.
It breaks the tests for Qt Wayland Compositor.
Task-number: QTBUG-111423
Change-Id: I8e411792e991d23cb0cb6b114ab1697c3b9e8c0e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Diffstat (limited to 'src/gui/platform/unix/qxkbcommon_p.h')
-rw-r--r-- | src/gui/platform/unix/qxkbcommon_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/platform/unix/qxkbcommon_p.h b/src/gui/platform/unix/qxkbcommon_p.h index 5e4e635fa1..adc96b2ad4 100644 --- a/src/gui/platform/unix/qxkbcommon_p.h +++ b/src/gui/platform/unix/qxkbcommon_p.h @@ -44,7 +44,7 @@ public: static int keysymToQtKey(xkb_keysym_t keysym, Qt::KeyboardModifiers modifiers); static int keysymToQtKey(xkb_keysym_t keysym, Qt::KeyboardModifiers modifiers, xkb_state *state, xkb_keycode_t code, - bool superAsMeta = true, bool hyperAsMeta = true); + bool superAsMeta = false, bool hyperAsMeta = false); // xkbcommon_* API is part of libxkbcommon internals, with modifications as // described in the header of the implementation file. |