aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquickitemview.cpp
diff options
context:
space:
mode:
authorDaniel d'Andrada <daniel.dandrada@canonical.com>2014-10-10 16:54:39 -0300
committerShawn Rutledge <shawn.rutledge@digia.com>2014-10-29 21:12:59 +0100
commit4b7dc1cf59da656be1f51a5a7bdac01b1ae8219a (patch)
treea80741bce73c3646b2bbab6d59af518016067fda /src/quick/items/qquickitemview.cpp
parent05d8ffb4dff5e693967c8ee7cee6d6158eadccbd (diff)
Remove mouse grabber if touch used for mouse emulation has been grabbed
If an item grabs a touch that is currently being used for mouse pointer emulation, the current mouse grabber should lose the mouse as mouse events will no longer be generated from that touch point. Example of what happens without this patch: -User touches a MouseArea. It gets pressed. -Some other item grabs that touch. -This touch eventually ends. -The MouseArea would still be pressed. And what will happens instead after this patch: -User touches a MouseArea. It gets pressed. -Some other item grabs that touch. -The MouseArea gets canceled and released -This touch eventually ends. Change-Id: I24114f18be564553a4a768243bb20379affe7a8f Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
Diffstat (limited to 'src/quick/items/qquickitemview.cpp')
0 files changed, 0 insertions, 0 deletions