aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui
diff options
context:
space:
mode:
authorBorja Lorente2016-07-29 11:01:28 +0200
committerBorja Lorente2016-07-31 14:05:14 +0200
commitc071eb0e188a458e90afae3c01bacf78f0b91c92 (patch)
tree75e62870ff9498aeb0f08b47d3a3f7af1740c7c3 /graphics/macgui
parentb9ca6836bdbb16bd9ee637cbb3e1dcb43ecb3ab0 (diff)
downloadscummvm-rg350-c071eb0e188a458e90afae3c01bacf78f0b91c92.tar.gz
scummvm-rg350-c071eb0e188a458e90afae3c01bacf78f0b91c92.tar.bz2
scummvm-rg350-c071eb0e188a458e90afae3c01bacf78f0b91c92.zip
GRAPHICS: Fix style issues
Diffstat (limited to 'graphics/macgui')
-rw-r--r--graphics/macgui/macwindowmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index 3d4ef3bc71..da573e6025 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -290,6 +290,7 @@ bool MacWindowManager::processEvent(Common::Event &event) {
it--;
BaseMacWindow *w = *it;
+
if (w->hasAllFocus() || w->getDimensions().contains(event.mouse.x, event.mouse.y)) {
if (event.type == Common::EVENT_LBUTTONDOWN || event.type == Common::EVENT_LBUTTONUP)
setActive(w->getId());