[Scummvm-git-logs] scummvm master -> e2330a716f0821c8f06dcef17d0bddcb0df722dc

sev- noreply at scummvm.org
Mon Sep 1 20:54:15 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
e2330a716f GRAPHICS: MACGUI: Do not pass events to invisible windows


Commit: e2330a716f0821c8f06dcef17d0bddcb0df722dc
    https://github.com/scummvm/scummvm/commit/e2330a716f0821c8f06dcef17d0bddcb0df722dc
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-09-01T22:54:00+02:00

Commit Message:
GRAPHICS: MACGUI: Do not pass events to invisible windows

Fixes major regression in Meet Mediaband when pop-up menu is taking
half of the screen but normally is invisible

Changed paths:
    graphics/macgui/macwindowmanager.cpp


diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index 6429ba4f0ba..944e2661f2b 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -1109,7 +1109,7 @@ bool MacWindowManager::processEvent(Common::Event &event) {
 		if (_lockedWidget != nullptr && w != _lockedWidget)
 			continue;
 		if (w->hasAllFocus() || (event.type == Common::EVENT_KEYDOWN) ||
-				w->getDimensions().contains(event.mouse.x, event.mouse.y)) {
+				(w->isVisible() && w->getDimensions().contains(event.mouse.x, event.mouse.y))) {
 			if ((event.type == Common::EVENT_LBUTTONDOWN || event.type == Common::EVENT_LBUTTONUP) && (!_backgroundWindow || w != _backgroundWindow))
 				setActiveWindow(w->getId());
 




More information about the Scummvm-git-logs mailing list