[0.4.10][WINLOGON] Start the screensaver on the user desktop CORE-16548

since support for secure screensaver desktop is not
completely implemented in Winlogon.

This fixes a regression introduced between
0.4.10-dev-579-gc697f19 and 0.4.10-dev-582-g3270979

fix cherry picked from commit 0.4.14-dev-581-g
40db385716
This commit is contained in:
Hermès Bélusca-Maïto 2019-12-08 02:26:26 +01:00 committed by Joachim Henze
parent 21ba8be79f
commit f188ff4af8

View file

@ -329,7 +329,9 @@ StartScreenSaver(
StartupInfo.cb = sizeof(STARTUPINFOW); StartupInfo.cb = sizeof(STARTUPINFOW);
StartupInfo.dwFlags = STARTF_SCREENSAVER; StartupInfo.dwFlags = STARTF_SCREENSAVER;
/* FIXME: run the screen saver on the screen saver desktop */ /* FIXME: Run the screen saver on the secure screen saver desktop if required */
StartupInfo.lpDesktop = L"WinSta0\\Default";
ret = CreateProcessW(szApplicationName, ret = CreateProcessW(szApplicationName,
szCommandLine, szCommandLine,
NULL, NULL,