[Scummvm-git-logs] scummvm master -> c53a1bdd867e607138114bc47d3a6eec4aa418ad
bluegr
noreply at scummvm.org
Sat Jul 11 22:58:04 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:
c53a1bdd86 CHEWY: Fix left mouse clicks being ignored after a lingering Return key
Commit: c53a1bdd867e607138114bc47d3a6eec4aa418ad
https://github.com/scummvm/scummvm/commit/c53a1bdd867e607138114bc47d3a6eec4aa418ad
Author: Max H. Gerlach (git at maxgerlach.de)
Date: 2026-07-12T01:57:59+03:00
Commit Message:
CHEWY: Fix left mouse clicks being ignored after a lingering Return key
In mouseAction(), consume the key in the Return/left-click branch,
mirroring the Escape branch above it.
Assisted-by: Claude:claude-fable-5
Changed paths:
engines/chewy/main.cpp
diff --git a/engines/chewy/main.cpp b/engines/chewy/main.cpp
index 9c518ea18b5..e85056fc85a 100644
--- a/engines/chewy/main.cpp
+++ b/engines/chewy/main.cpp
@@ -801,6 +801,7 @@ void mouseAction() {
g_events->_kbInfo._scanCode = Common::KEYCODE_ESCAPE;
}
} else if (_G(minfo).button == 1 || g_events->_kbInfo._keyCode == Common::KEYCODE_RETURN) {
+ g_events->_kbInfo._keyCode = '\0';
if (!_G(flags).mainMouseFlag) {
if (_G(menu_display) == MENU_DISPLAY)
g_events->_kbInfo._scanCode = Common::KEYCODE_RETURN;
More information about the Scummvm-git-logs
mailing list