aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-22 10:26:53 +0200
committerEugene Sandulenko2017-08-22 10:26:53 +0200
commit4783541529988e2872fea27565d92d2c36d03f7a (patch)
tree85485d646b97657add943fc098604cb8cab5f150 /graphics
parent8458630e50d428ce6154aa303c24367abb34c9e9 (diff)
downloadscummvm-rg350-4783541529988e2872fea27565d92d2c36d03f7a.tar.gz
scummvm-rg350-4783541529988e2872fea27565d92d2c36d03f7a.tar.bz2
scummvm-rg350-4783541529988e2872fea27565d92d2c36d03f7a.zip
GRAPHICS: MACGUI: Now MacWindowManager processes most of the events, remove filter
Diffstat (limited to 'graphics')
-rw-r--r--graphics/macgui/macwindowmanager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index 442c351383..9e5e8b76c9 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -308,10 +308,6 @@ bool MacWindowManager::processEvent(Common::Event &event) {
if (_menu && _menu->processEvent(event))
return true;
- if (event.type != Common::EVENT_MOUSEMOVE && event.type != Common::EVENT_LBUTTONDOWN &&
- event.type != Common::EVENT_LBUTTONUP && event.type != Common::EVENT_KEYDOWN)
- return false;
-
if (_windows[_activeWindow]->isEditable() && _windows[_activeWindow]->getType() == kWindowWindow &&
((MacWindow *)_windows[_activeWindow])->getInnerDimensions().contains(event.mouse.x, event.mouse.y)) {
if (_cursorIsArrow) {