summaryrefslogtreecommitdiff
path: root/src/corelib/global
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-06-22 14:49:09 +0200
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-06-22 15:02:05 +0200
commit3ead3dff7e713057b03cd2b969896f196b7ca2f0 (patch)
treed4e6f44e3720b8d1f03b88336bdcc1c3fa900aa9 /src/corelib/global
parentf31240c216e19fe02547f078608fa8c0a2aaca7d (diff)
downloadqt4-tools-3ead3dff7e713057b03cd2b969896f196b7ca2f0.tar.gz
Multitouch, Cocoa: Added Qt::WA_TouchPadAcceptSingleTouchEvents
By default this is set to false, meaning you will only get multitouch events. The reason why this is important is that we use the first touch of a new touch sequence to find out which widget to send the subsequent touches to. And on a touchpad, you normally want this to be the widget under the cursor when more than one finger is pressed on the pad.
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qnamespace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/corelib/global/qnamespace.h b/src/corelib/global/qnamespace.h
index 2e2a09dc74..0006026db0 100644
--- a/src/corelib/global/qnamespace.h
+++ b/src/corelib/global/qnamespace.h
@@ -493,6 +493,7 @@ public:
WA_AcceptTouchEvents = 121,
WA_WState_AcceptedTouchBeginEvent = 122,
+ WA_TouchPadAcceptSingleTouchEvents = 123,
// Add new attributes before this line
WA_AttributeCount