aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/iphone/osys_main.h
diff options
context:
space:
mode:
authorOystein Eftevaag2011-05-14 23:01:08 -0400
committerOystein Eftevaag2011-05-15 17:55:47 -0400
commitb23dfd72f123c7d98c5076d813e522834888588a (patch)
tree9b07d92804916d0cbf498f0e7351dd55be6214fa /backends/platform/iphone/osys_main.h
parent8fb0d27f957893d3b399ff954b4d4be93b060e3e (diff)
downloadscummvm-rg350-b23dfd72f123c7d98c5076d813e522834888588a.tar.gz
scummvm-rg350-b23dfd72f123c7d98c5076d813e522834888588a.tar.bz2
scummvm-rg350-b23dfd72f123c7d98c5076d813e522834888588a.zip
IPHONE: Changed the iOS queued event handling to fix mouseclicks in Gob
We now delay the mouseup events for 50ms, rather than just delaying them for an additional couple of pollEvent (which doesn't work anymore due to changes in the eventhandling code elsewhere). This fixes #3018512.
Diffstat (limited to 'backends/platform/iphone/osys_main.h')
-rw-r--r--backends/platform/iphone/osys_main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h
index 79f596632f..077cb51c1c 100644
--- a/backends/platform/iphone/osys_main.h
+++ b/backends/platform/iphone/osys_main.h
@@ -89,9 +89,9 @@ protected:
bool _mouseDirty;
long _lastMouseDown;
long _lastMouseTap;
+ long _queuedEventTime;
Common::Rect _lastDrawnMouseRect;
Common::Event _queuedInputEvent;
- bool _needEventRestPeriod;
bool _secondaryTapped;
long _lastSecondaryDown;
long _lastSecondaryTap;