https://bugs.kde.org/show_bug.cgi?id=519690

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/885ed3e1bb
                   |                            |aba6bc12ea6e2b54126bd7c4bfd
                   |                            |bda
         Resolution|---                         |FIXED

--- Comment #3 from David Edmundson <[email protected]> ---
Git commit 885ed3e1bbaba6bc12ea6e2b54126bd7c4bfdbda by David Edmundson.
Committed on 02/06/2026 at 10:08.
Pushed by davidedmundson into branch 'master'.

fakeinput: Keep modifiers when handling keysyms

The requirements for turning keysyms into keycodes are complicated.

If the keysym is "F" vs "f" we need to handle pressing and unpressing
shift before delivering the keycode. However, we still need existing
modifiers like control, alt, meta to work based on key combinations.
This patch avoids unsetting existingly held modifiers and takes a union.
It does mean that sending some keySyms with modifiers explicitly held
down may not translate correctly, but it's hopefully a happy medium.

We also have to ensure when the user explicitly presses a modifier we
don't unset the changes the user made.

M  +22   -0    autotests/integration/fakeinput_test.cpp
M  +25   -3    src/backends/fakeinput/fakeinputbackend.cpp

https://invent.kde.org/plasma/kwin/-/commit/885ed3e1bbaba6bc12ea6e2b54126bd7c4bfdbda

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to