diff options
author | Oystein Eftevaag | 2011-05-14 23:01:08 -0400 |
---|---|---|
committer | Oystein Eftevaag | 2011-05-15 18:04:36 -0400 |
commit | b3062b5e7eb3737c5426ef8e9d93efe01fbd0a50 (patch) | |
tree | 41379feb631864f335ed971e8d2cfc2e93a74a51 /backends/platform/iphone/osys_main.h | |
parent | 5075d64f2e7e684aa14af1b4146e087226dbb5e8 (diff) | |
download | scummvm-rg350-b3062b5e7eb3737c5426ef8e9d93efe01fbd0a50.tar.gz scummvm-rg350-b3062b5e7eb3737c5426ef8e9d93efe01fbd0a50.tar.bz2 scummvm-rg350-b3062b5e7eb3737c5426ef8e9d93efe01fbd0a50.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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/iphone/osys_main.h b/backends/platform/iphone/osys_main.h index be3ae4b48a..1ff87967a1 100644 --- a/backends/platform/iphone/osys_main.h +++ b/backends/platform/iphone/osys_main.h @@ -86,9 +86,9 @@ protected: bool _mouseDirty; long _lastMouseDown; long _lastMouseTap; + long _queuedEventTime; Common::Rect _lastDrawnMouseRect; Common::Event _queuedInputEvent; - bool _needEventRestPeriod; bool _secondaryTapped; long _lastSecondaryDown; long _lastSecondaryTap; |