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