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

sev- noreply at scummvm.org
Wed Feb 26 17:36:15 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e4fc48ee2a DIRECTOR: LINGO: Implement window moveToFront method


Commit: e4fc48ee2ae6b750f85592539b5f49c288638c06
    https://github.com/scummvm/scummvm/commit/e4fc48ee2ae6b750f85592539b5f49c288638c06
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-02-26T18:35:49+01:00

Commit Message:
DIRECTOR: LINGO: Implement window moveToFront method

Changed paths:
    engines/director/lingo/lingo-object.cpp


diff --git a/engines/director/lingo/lingo-object.cpp b/engines/director/lingo/lingo-object.cpp
index bedc847577f..13089b0ac2a 100644
--- a/engines/director/lingo/lingo-object.cpp
+++ b/engines/director/lingo/lingo-object.cpp
@@ -846,11 +846,10 @@ void LM::m_moveToBack(int nargs) {
 }
 
 void LM::m_moveToFront(int nargs) {
-	g_lingo->printSTUBWithArglist("m_moveToFront", nargs);
-
 	Window *me = static_cast<Window *>(g_lingo->_state->me.u.obj);
 	me->ensureMovieIsLoaded();
-	g_lingo->dropStack(nargs);
+
+	g_director->_wm->setActiveWindow(me->getId());
 }
 
 } // End of namespace Director




More information about the Scummvm-git-logs mailing list