https://bugs.kde.org/show_bug.cgi?id=374778
Martin Gräßlin <mgraess...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kwi
                   |                            |n/7e89c518237b175ecdd4df33b
                   |                            |b4f03c2bbffb0ab

--- Comment #7 from Martin Gräßlin <mgraess...@kde.org> ---
Git commit 7e89c518237b175ecdd4df33bb4f03c2bbffb0ab by Martin Gräßlin.
Committed on 25/01/2017 at 12:58.
Pushed by graesslin into branch 'Plasma/5.9'.

Add workaround for touch input offset for decorated windows

Summary:
If a Wayland window is decorated the decoration size was not considered
when passing touch points to the Wayland window. For pointer input this
is considered and implemented through the input transformation matrix
which KWayland::Server::SeatInterface accepts. This should also be done
for Touch. Unfortunately the frameworks version for Plasma 5.9 is already
tagged and done and we cannot depend on new API.

Thus this change tries to workaround by calculating the proper offset
through the input transformation matrix. It isn't nice but fixes the
problem for now.

Test Plan: Only in unit test, real test still missing

Reviewers: #plasma_on_wayland, #kwin

Subscribers: plasma-devel, kwin

Tags: #plasma_on_wayland, #kwin

Differential Revision: https://phabricator.kde.org/D4074

M  +0    -3    autotests/integration/touch_input_test.cpp
M  +4    -2    touch_input.cpp

https://commits.kde.org/kwin/7e89c518237b175ecdd4df33bb4f03c2bbffb0ab

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

Reply via email to