mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-04-08 18:40:14 +03:00
steam.exe: Make process system after child process has started.
So that it can connect to the winstation and get a desktop reference before steam.exe releases theirs. CW-Bug-ID: #19584
This commit is contained in:
parent
d39f08b182
commit
511c367157
@ -1378,7 +1378,6 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
SteamAPI_Shutdown();
|
SteamAPI_Shutdown();
|
||||||
|
|
||||||
wait_handle = __wine_make_process_system();
|
|
||||||
game_process = TRUE;
|
game_process = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1398,14 +1397,16 @@ int main(int argc, char *argv[])
|
|||||||
if (child == INVALID_HANDLE_VALUE)
|
if (child == INVALID_HANDLE_VALUE)
|
||||||
return 1;
|
return 1;
|
||||||
|
|
||||||
if (wait_handle == INVALID_HANDLE_VALUE)
|
wait_handle = child;
|
||||||
wait_handle = child;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (game_process)
|
if (game_process)
|
||||||
CreateThread(NULL, 0, steam_drm_thread, child, 0, NULL);
|
CreateThread(NULL, 0, steam_drm_thread, child, 0, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (game_process)
|
||||||
|
wait_handle = __wine_make_process_system();
|
||||||
|
|
||||||
if(wait_handle != INVALID_HANDLE_VALUE)
|
if(wait_handle != INVALID_HANDLE_VALUE)
|
||||||
{
|
{
|
||||||
FreeConsole();
|
FreeConsole();
|
||||||
|
2
wine
2
wine
@ -1 +1 @@
|
|||||||
Subproject commit 8ce2117667288926dcfc058724f2a530d83842bd
|
Subproject commit 911a8f7ade6d0b8bf44c7da8823c51c7209957c6
|
Loading…
x
Reference in New Issue
Block a user