From 59fa008275ae2e05d99329dce2839201f7e992ed Mon Sep 17 00:00:00 2001 From: Andrey Butirsky Date: Wed, 22 Mar 2023 17:48:39 +0000 Subject: Revert "Revert "qxkbcommon: Treat XKB_KEY_{Super,Hyper}_{L,R} as Qt::Key_Meta by default"" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 101e57d37c3b1c1c24173f1b37f54f9efaedc329. We have a separate change to fix Qt Wayland Compositor. Change-Id: Ia00f73c9864921523fed205a813496ab417810a8 Reviewed-by: Tor Arne Vestbø Reviewed-by: Liang Qi --- src/gui/platform/unix/qxkbcommon_p.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/platform/unix/qxkbcommon_p.h') 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. -- cgit v1.2.3