[Scummvm-git-logs] scummvm master -> 07795beead361f0249a2a2d47b460bdbe063ffe8
sev-
noreply at scummvm.org
Wed Jan 28 09:16:13 UTC 2026
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:
07795beead GRAPHICS: MACGUI: fix active window while scrolling.
Commit: 07795beead361f0249a2a2d47b460bdbe063ffe8
https://github.com/scummvm/scummvm/commit/07795beead361f0249a2a2d47b460bdbe063ffe8
Author: dhruv (dhruvranger97 at gmail.com)
Date: 2026-01-28T12:16:09+03:00
Commit Message:
GRAPHICS: MACGUI: fix active window while scrolling.
Changed paths:
graphics/macgui/macwindowmanager.cpp
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp
index 72e8af5deb0..1e6567bb9a7 100644
--- a/graphics/macgui/macwindowmanager.cpp
+++ b/graphics/macgui/macwindowmanager.cpp
@@ -1104,6 +1104,11 @@ bool MacWindowManager::processEvent(Common::Event &event) {
return true;
}
+ if (event.type == Common::EVENT_WHEELUP || event.type == Common::EVENT_WHEELDOWN) {
+ MacWindow *w = findWindowAtPoint(event.mouse.x, event.mouse.y);
+ if (w) setActiveWindow(w->getId());
+ }
+
if (_activeWindow != -1) {
if ((_windows[_activeWindow]->isEditable() && _windows[_activeWindow]->getType() == kWindowWindow &&
((MacWindow *)_windows[_activeWindow])->getInnerDimensions().contains(event.mouse.x, event.mouse.y)) ||
More information about the Scummvm-git-logs
mailing list