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

Zamundaaa <xaver.h...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/630ba5fab4 |ma/kwin/-/commit/0b2d8901ab
                   |b02c2b496553c79d4a315da9271 |086bf5119077911ba39f63b1bde
                   |b53                         |cfe

--- Comment #77 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit 0b2d8901ab086bf5119077911ba39f63b1bdecfe by Xaver Hugl.
Committed on 19/03/2024 at 19:31.
Pushed by zamundaaa into branch 'Plasma/6.0'.

pointer input: handle warp events differently from absolute motion events

As Wayland doesn't have a warp event yet, before this commit, warps were
dealt with like normal absolute motion events. This trips up games though,
which don't deal with actual absolute motion events well. As a solution
to that, until an actual warp event is a thing, we send a motion event with
a position + a relative motion event with no motion
Related: bug 482476
(cherry picked from commit 630ba5fab4b02c2b496553c79d4a315da9271b53)

M  +1    -1    autotests/libinput/input_event_test.cpp
M  +5    -1    src/input.cpp
M  +2    -1    src/input_event.cpp
M  +7    -1    src/input_event.h
M  +18   -12   src/pointer_input.cpp
M  +6    -1    src/pointer_input.h

https://invent.kde.org/plasma/kwin/-/commit/0b2d8901ab086bf5119077911ba39f63b1bdecfe

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

Reply via email to