D11573: Use QPlatformWindow::startSystemMove() with Qt 5.11

Alexander Volkov noreply at phabricator.kde.org
Thu Mar 22 10:43:50 UTC 2018


volkov created this revision.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.
volkov requested review of this revision.

REVISION SUMMARY
  ... instead of X11 API to initiate window movement by a window
  manager. It works correctly when mouse events are synthesized from
  touch events (requires releasing of touch sequences that relies on
  Qt's internals and can be done only inside the xcb plugin).
  Besides it should work on Wayland.
  
  Note that now globalPos is used when creating QMouseEvent that
  triggers window movement. Otherwise QMouseEvent will take it
  from QCursor::pos() with integer coordinates received from the
  X server, which may differ from coordinates rounded by Qt for
  touch events.

REPOSITORY
  R31 Breeze

BRANCH
  Plasma/5.12

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

AFFECTED FILES
  kstyle/CMakeLists.txt
  kstyle/breezewindowmanager.cpp

To: volkov
Cc: plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20180322/f07ea685/attachment-0001.html>


More information about the Plasma-devel mailing list