summaryrefslogtreecommitdiffstats
path: root/src/plugins/platforms/windows/qwindowsole.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2020-07-15 11:57:09 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2020-07-15 12:14:30 +0200
commite91b778395da7162a22be3a858ed592d7559c5df (patch)
treeea8cc7bdbb74515bc9099cb5b75fabfee5a8d561 /src/plugins/platforms/windows/qwindowsole.cpp
parente9bfd7862f858e8a4d10e9a9e14d4c1f6cc2aa9b (diff)
QMouseEvent: Set QEventPoint globalPressPosition and globalLastPosition
Qt Quick's MultiPointTouchArea compares the delta since press against the drag threshold to determine whether a gesture has started, for example. Since it can be configured to handle both mouse and touch, this needs to be done for mouse events in a similar way as it's done in QGuiApplicationPrivate::processTouchEvent(). Storing one global cursor position is not OK for multi-mouse support, but that's a problem for another time; so we keep using QGuiApplicationPrivate::lastCursorPosition for now. Amends 4e400369c08db251cd489fec1229398c224d02b4 Change-Id: I242565c4548878878a67074877468e5fde84a490 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'src/plugins/platforms/windows/qwindowsole.cpp')
0 files changed, 0 insertions, 0 deletions