diff options
author | Andrey Butirsky <butirsky@gmail.com> | 2023-03-22 17:48:39 +0000 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2023-03-31 11:26:42 +0000 |
commit | 59fa008275ae2e05d99329dce2839201f7e992ed (patch) | |
tree | 812a0d74247eb5882237ff5f171dfb4278860ebc /src | |
parent | 29317b426b9ec84f4ba66e6c032f71c2a2bae091 (diff) |
Revert "Revert "qxkbcommon: Treat XKB_KEY_{Super,Hyper}_{L,R} as Qt::Key_Meta by default""
This reverts commit 101e57d37c3b1c1c24173f1b37f54f9efaedc329.
We have a separate change to fix Qt Wayland Compositor.
Change-Id: Ia00f73c9864921523fed205a813496ab417810a8
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
Reviewed-by: Liang Qi <liang.qi@qt.io>
Diffstat (limited to 'src')
-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 adc96b2ad4..5e4e635fa1 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 = false, bool hyperAsMeta = false); + bool superAsMeta = true, bool hyperAsMeta = true); // xkbcommon_* API is part of libxkbcommon internals, with modifications as // described in the header of the implementation file. |