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

Zamundaaa <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kwin/-/commit/f3c2f0b1e7
                   |                            |1eee83a0670e372e4531ecfbc93
                   |                            |a87

--- Comment #2 from Zamundaaa <[email protected]> ---
Git commit f3c2f0b1e71eee83a0670e372e4531ecfbc93a87 by Xaver Hugl.
Committed on 23/10/2026 at 20:29.
Pushed by zamundaaa into branch 'master'.

wayland/pointerconstraints_v1: fix state being overwritten

Since we only removed the pointer hint from the current state when the pointer
was locked, a commit afterwards would overwrite that with the old pointer hint
position from the pending state.

To fix it, simply apply the same changes to current and pending states.

This commit also adds an autotest for this case.

M  +46   -0    autotests/integration/pointer_constraints_test.cpp
M  +4    -0    src/wayland/pointerconstraints_v1.cpp

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

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

Reply via email to