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

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/a151795b8b |ma/kwin/-/commit/b9a666c6d0
                   |6def268c38bd8711b9ec45194b9 |bb3b58ed210a66db08a01c00ad7
                   |75f                         |044

--- Comment #5 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit b9a666c6d0bb3b58ed210a66db08a01c00ad7044 by Vlad Zahorodnii.
Committed on 19/02/2025 at 18:34.
Pushed by vladz into branch 'Plasma/6.3'.

backends/libinput: confine TabletToolEvent to output

An output with width 1920 contains pixels from 0 to 1919 inclusive, and
pixel 1920 belongs to another screen. Hence, decrease width and height
by 1 to correctly confine TabletToolEvent to the respective output.

Test plan:
- set up two displays horizontally aligned
- set tablet to follow the current screen
- focus on left screen
- move tablet stylus to right most edge, verify that it does not
  teleport to the right edge of right screen
- test that the cursor teleports without this patch


(cherry picked from commit a151795b8b6def268c38bd8711b9ec45194b975f)

Co-authored-by: Yifan Zhu <fanzhuyi...@gmail.com>

M  +2    -2    src/backends/libinput/events.cpp

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

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

Reply via email to