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

lephilousophe noreply at scummvm.org
Sun Nov 22 09:37:56 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:
fa8126a019 GUI: Make GridWidget accept focus


Commit: fa8126a019773eb6534afbcbb7a7076b31461433
    https://github.com/scummvm/scummvm/commit/fa8126a019773eb6534afbcbb7a7076b31461433
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2026-11-22T10:28:16+01:00

Commit Message:
GUI: Make GridWidget accept focus

Reapply 763517fdfe3 which got inadvertently removed.
Add a proper comment to avoid a new removal.

Changed paths:
    gui/widgets/grid.h


diff --git a/gui/widgets/grid.h b/gui/widgets/grid.h
index 1f9ee2ab44a..1351680d508 100644
--- a/gui/widgets/grid.h
+++ b/gui/widgets/grid.h
@@ -252,6 +252,11 @@ public:
 	void handleCommand(CommandSender *sender, uint32 cmd, uint32 data) override;
 	void reflowLayout() override;
 
+	// Let's accept the focus to prevent the search widget to get it.
+	// This prevents the launcher to start with the virtual keyboard displayed.
+	// We should implement keyboard navigation inside the widget too.
+	bool wantsFocus() override { return true; }
+
 	void cancelDrag() override;
 	void cancelTickle() override;
 




More information about the Scummvm-git-logs mailing list