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

dreammaster noreply at scummvm.org
Sat Sep 27 06:28:08 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:
a2183bbdff BAGEL: METAGAME: Use minimal keybindings on Grand Tour window


Commit: a2183bbdff7a03eced72f994358ec9010000e851
    https://github.com/scummvm/scummvm/commit/a2183bbdff7a03eced72f994358ec9010000e851
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2025-09-26T23:27:57-07:00

Commit Message:
BAGEL: METAGAME: Use minimal keybindings on Grand Tour window

Changed paths:
    engines/bagel/hodjnpodj/metagame/grand_tour/grand_tour.cpp


diff --git a/engines/bagel/hodjnpodj/metagame/grand_tour/grand_tour.cpp b/engines/bagel/hodjnpodj/metagame/grand_tour/grand_tour.cpp
index 739ff4e2c9d..ccfa78f4c71 100644
--- a/engines/bagel/hodjnpodj/metagame/grand_tour/grand_tour.cpp
+++ b/engines/bagel/hodjnpodj/metagame/grand_tour/grand_tour.cpp
@@ -27,6 +27,7 @@
 #include "bagel/hodjnpodj/metagame/grand_tour/dialogs.h"
 #include "bagel/hodjnpodj/metagame/grand_tour/grand_tour.h"
 #include "bagel/hodjnpodj/hodjnpodj.h"
+#include "bagel/metaengine.h"
 
 namespace Bagel {
 namespace HodjNPodj {
@@ -1725,13 +1726,21 @@ void CMainGTWindow::OnActivate(unsigned int nState, CWnd *pWndOther, bool bMinim
 	switch (nState) {
 	case WA_INACTIVE:
 		bActiveWindow = false;
+		BagelMetaEngine::setKeybindingMode(KBMODE_NORMAL);
 		break;
+
 	case WA_ACTIVE:
 	case WA_CLICKACTIVE:
 		bActiveWindow = true;
 		bUpdateNeeded = GetUpdateRect(nullptr, false);
 		if (bUpdateNeeded)
 			InvalidateRect(nullptr, false);
+
+		BagelMetaEngine::setKeybindingMode(KBMODE_MINIMAL);
+		break;
+
+	default:
+		break;
 	}
 }
 




More information about the Scummvm-git-logs mailing list