From 101e57d37c3b1c1c24173f1b37f54f9efaedc329 Mon Sep 17 00:00:00 2001 From: Liang Qi Date: Thu, 23 Feb 2023 13:01:25 +0100 Subject: 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 610bafdfc58e90f24e3908e1a5932e2f510eac7e. It breaks the tests for Qt Wayland Compositor. Task-number: QTBUG-111423 Change-Id: I8e411792e991d23cb0cb6b114ab1697c3b9e8c0e Reviewed-by: Tor Arne Vestbø --- 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 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. -- cgit v1.2.3