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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/47f800c127 |ma/kwin/-/commit/6d633e4bd1
                   |86d4b04a2e812785784d41e39bb |9a32390eb0da26a50e881eb7fbb
                   |fbc                         |36d

--- Comment #12 from Zamundaaa <xaver.h...@gmail.com> ---
Git commit 6d633e4bd19a32390eb0da26a50e881eb7fbb36d by Xaver Hugl.
Committed on 04/10/2024 at 23:41.
Pushed by zamundaaa into branch 'Plasma/6.2'.

wayland/relativepointer: don't scale non-accelerated pointer values

Normally, pointer values are in logical units, which get implicitly scaled with
the scale of
the screen, so scaling them when scaling Xwayland makes sense. If the pointer
moves too fast
for the user with that scaling, they will simply use the libinput pointer
acceleration setting
to reduce that speed in a manner that's uniform for all their screens.
However, unaccelerated values are not affected by that setting, and thus they
should also not
be affected by the screen's scale. This commit removes that scaling for
Xwayland, which matches
SDL's usage of the value in Wayland native mode and brings it in line with user
expectations.


(cherry picked from commit 47f800c12786d4b04a2e812785784d41e39bbfbc)

Co-authored-by: Xaver Hugl <xaver.h...@gmail.com>

M  +2    -2    src/wayland/relativepointer_v1.cpp

https://invent.kde.org/plasma/kwin/-/commit/6d633e4bd19a32390eb0da26a50e881eb7fbb36d

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

Reply via email to