[Scummvm-git-logs] scummvm master -> 4783541529988e2872fea27565d92d2c36d03f7a
sev-
sev at scummvm.org
Tue Aug 22 10:27:17 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
4783541529 GRAPHICS: MACGUI: Now MacWindowManager processes most of the events, remove filter
Commit: 4783541529988e2872fea27565d92d2c36d03f7a
https://github.com/scummvm/scummvm/commit/4783541529988e2872fea27565d92d2c36d03f7a
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2017-08-22T10:26:53+02:00
Commit Message:
GRAPHICS: MACGUI: Now MacWindowManager processes most of the events, remove filter
Changed paths:
graphics/macgui/macwindowmanager.cpp
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index 442c351..9e5e8b7 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) {
More information about the Scummvm-git-logs
mailing list