luebking added inline comments. INLINE COMMENTS
> keyboard_input.cpp:420 > + // handle this is through new API in xkbcommon which doesn't exist yet > + if (m_consumedModifiers & ~m_modifiers) { > + return mods; Possible pitfalls: What if eg. Ctrl+Alt+Foo creates a keysym, but Ctrl+Alt+Shift+Foo does not? If however Ctrl+Alt+Foo and Ctrl+Alt+Shift+Foo create keysyms, Ctrl+Alt+Shift would be consumed but Ctrl+Alt should be considered consumed as well (so this test fails), right? -> should one test for equality to rule out at least case one? REPOSITORY rKWIN KWin BRANCH consumed-mods-fix-5.8 REVISION DETAIL https://phabricator.kde.org/D2945 EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, #kwin, #plasma_on_wayland, sebas Cc: luebking, plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas