[Differential] [Request, 9 lines] D4074: Add workaround for touch input offset for decorated windows

Martin Gräßlin noreply at phabricator.kde.org
Tue Jan 10 19:33:02 UTC 2017


graesslin created this revision.
graesslin added reviewers: Plasma on Wayland, KWin.
Restricted Application added subscribers: kwin, plasma-devel.
Restricted Application added projects: Plasma on Wayland, KWin.

REVISION 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.
  
  BUG: 374778

TEST PLAN
  Only in unit test, real test still missing

REPOSITORY
  R108 KWin

BRANCH
  touch-input-deco-workaround

REVISION DETAIL
  https://phabricator.kde.org/D4074

AFFECTED FILES
  autotests/integration/touch_input_test.cpp
  touch_input.cpp

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, #plasma_on_wayland, #kwin
Cc: plasma-devel, kwin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, andreaska, eliasp, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170110/fd662b03/attachment.html>


More information about the Plasma-devel mailing list