Skip to content

Commit

Permalink
GRAPHICS: MACGUI: Fix infinite loop in event processing for MacWindow
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Apr 7, 2020
1 parent ee557c8 commit b0fecf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphics/macgui/macwindow.cpp
Expand Up @@ -537,7 +537,7 @@ bool MacWindow::processEvent(Common::Event &event) {
}

MacWidget *w = findEventHandler(event, _dims.left, _dims.top);
if (w && w->processEvent(event))
if (w && w != this && w->processEvent(event))
return true;

if (_callback)
Expand Down

0 comments on commit b0fecf9

Please sign in to comment.