diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-12-02 10:39:46 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-12-02 16:56:16 (GMT) |
commit | 3efae3272151f0abf55af742c2618be2a35455a5 (patch) | |
tree | 3dffdebf46f2264ea28867ea153a965012979c85 /src/gui/painting/makepsheader.pl | |
parent | 592390c1a8d8d5664fc34893da586412b6a1bcf3 (diff) | |
download | Qt-3efae3272151f0abf55af742c2618be2a35455a5.zip Qt-3efae3272151f0abf55af742c2618be2a35455a5.tar.gz Qt-3efae3272151f0abf55af742c2618be2a35455a5.tar.bz2 |
Do not emulate mouse event out of touch pad events
If the touch event comes from a touchpad it doesn't seem necessary to send fake
mouse events. At least on the platform that actually supports touchpad events
(i.e. Mac) native apps don't do that and the current implementation breaks
popup handling - since touch events are only sent by default if two or more
fingers touch the touchpad, we send fake MouseButtonPress when second finger is
pressed and MouseButtonRelease when the second finger is released - i.e. at the
same time when the system send scrollWheel events. This causes the active popup
to close when using two-finger scroll gesture.
Reviewed-by: Brad
Diffstat (limited to 'src/gui/painting/makepsheader.pl')
0 files changed, 0 insertions, 0 deletions