Revert "Revert "qxkbcommon: Treat XKB_KEY_{Super,Hyper}_{L,R} as Qt::Key_Meta by default""
This reverts commit 101e57d37c
.
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>
This commit is contained in:
parent
29317b426b
commit
59fa008275
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user