[Scummvm-git-logs] scummvm master -> c08d0b5554561b0666961d20f9c6d913ba6aaeca
sev-
noreply at scummvm.org
Mon Oct 27 10:43:35 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:
c08d0b5554 GRAPHICS: MACGUI: Enable cursor blinking on activation
Commit: c08d0b5554561b0666961d20f9c6d913ba6aaeca
https://github.com/scummvm/scummvm/commit/c08d0b5554561b0666961d20f9c6d913ba6aaeca
Author: Al-Hassan ibrahim (alhassanibrahim.dev01 at gmail.com)
Date: 2025-10-27T11:43:31+01:00
Commit Message:
GRAPHICS: MACGUI: Enable cursor blinking on activation
Removed the _autoSelect condition from setActive(), which previously
prevented installing the cursor timer. This ensures that the cursor
blinks properly when the text widget becomes active.
Changed paths:
graphics/macgui/mactext.cpp
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp
index 42925fe4e38..f54d31afa26 100644
--- a/graphics/macgui/mactext.cpp
+++ b/graphics/macgui/mactext.cpp
@@ -716,7 +716,7 @@ void MacText::setActive(bool active) {
MacWidget::setActive(active);
g_system->getTimerManager()->removeTimerProc(&cursorTimerHandler);
- if (_active && _autoSelect) {
+ if (_active && _editable) {
g_system->getTimerManager()->installTimerProc(&cursorTimerHandler, 200000, this, "macEditableText");
// inactive -> active, we reset the selection
setSelection(_selStart, true);
More information about the Scummvm-git-logs
mailing list