Compute correct position of drag button press on X11

Authored by zzag on Mar 30 2019, 9:30 PM.

Description

Compute correct position of drag button press on X11

Summary:
While dimensions of QScreen are in logical pixels, the origin is not.
As result, computed native coordinates are incorrect on high dpi.

Test Plan:
Drag a window by empty area on a multiple monitor setup (with High DPI),
neither cursor nor windows should "jump."

Reviewers: Plasma, davidedmundson

Reviewed By: Plasma, davidedmundson

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
zzagApr 1 2019, 9:17 PM
Reviewer
Plasma
Differential Revision
D20182: Compute correct position of drag button press on X11
Parents
R31:4a60ea08c502: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown