diff options
author | CeRiAl | 2011-06-27 02:00:33 +0200 |
---|---|---|
committer | CeRiAl | 2011-06-27 02:22:24 +0200 |
commit | 0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9 (patch) | |
tree | 2af39db9644fa802f700fb0eca5f52d5e96ed16b /backends/events/wincesdl | |
parent | 7983b1cce3fb5831f7437ea689b951ac7cd9c5a3 (diff) | |
download | scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.tar.gz scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.tar.bz2 scummvm-rg350-0a9b9fe08f3b5fa8f9a505887fccd88b42f7f1b9.zip |
WINCE: Added option to disable panel toggling with double tap on top of screen
Diffstat (limited to 'backends/events/wincesdl')
-rw-r--r-- | backends/events/wincesdl/wincesdl-events.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/events/wincesdl/wincesdl-events.cpp b/backends/events/wincesdl/wincesdl-events.cpp index 4fab47a58e..1116cbbb8d 100644 --- a/backends/events/wincesdl/wincesdl-events.cpp +++ b/backends/events/wincesdl/wincesdl-events.cpp @@ -183,7 +183,8 @@ bool WINCESdlEventSource::pollEvent(Common::Event &event) { if (_tapTime) { // second tap if (_closeClick && (GetTickCount() - _tapTime < 1000)) { if (event.mouse.y <= 20 && - _graphicsMan->_panelInitialized) { + _graphicsMan->_panelInitialized && + !_graphicsMan->_noDoubleTapPT) { // top of screen (show panel) _graphicsMan->swap_panel_visibility(); } else if (!_graphicsMan->_noDoubleTapRMB) { |