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

Vlad Zahorodnii <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/78769490b6 |ma/kwin/-/commit/c186a75b78
                   |d2d831f4cbac385380fe659f677 |e142068649b4df452a45e28734b
                   |a76                         |d26

--- Comment #5 from Vlad Zahorodnii <[email protected]> ---
Git commit c186a75b78e142068649b4df452a45e28734bd26 by Vlad Zahorodnii.
Committed on 16/06/2026 at 06:45.
Pushed by vladz into branch 'Plasma/6.6'.

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.


(cherry picked from commit 885ed3e1bbaba6bc12ea6e2b54126bd7c4bfdbda)

Co-authored-by: David Edmundson <[email protected]>

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

https://invent.kde.org/plasma/kwin/-/commit/c186a75b78e142068649b4df452a45e28734bd26

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

Reply via email to