steam_helper: Increase desktop close timeout for EA Desktop.

CW-Bug-Id: #22321
This commit is contained in:
Paul Gofman 2023-06-13 12:38:02 -06:00 committed by Arkadiusz Hiler
parent c53ff7a082
commit 727f81d380

View file

@ -1177,7 +1177,7 @@ run:
if (use_shell_execute && lstrlenW(cmdline) > 10 && !memcmp(cmdline, L"link2ea://", 10 *sizeof(WCHAR)))
{
HDESK desktop = GetThreadDesktop(GetCurrentThreadId());
DWORD timeout = 300;
DWORD timeout = 3000;
link2ea = TRUE;
if (!SetUserObjectInformationA(desktop, 1000, &timeout, sizeof(timeout)))