Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ValveSoftware/Proton.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Bernon <rbernon@codeweavers.com>2021-11-15 14:59:33 +0300
committerRémi Bernon <rbernon@codeweavers.com>2021-12-17 12:08:58 +0300
commit511c3671577bdf114a1f8b48eecb1313a0578950 (patch)
tree78635e4590b640c4e5b6753847f41543114872e4
parentd39f08b182d2fe743ca7f004f196b25bf87e1ba8 (diff)
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
-rw-r--r--steam_helper/steam.cpp7
m---------wine0
2 files changed, 4 insertions, 3 deletions
diff --git a/steam_helper/steam.cpp b/steam_helper/steam.cpp
index 89e949af..93dcf22f 100644
--- a/steam_helper/steam.cpp
+++ b/steam_helper/steam.cpp
@@ -1378,7 +1378,6 @@ int main(int argc, char *argv[])
SteamAPI_Shutdown();
- wait_handle = __wine_make_process_system();
game_process = TRUE;
}
@@ -1398,14 +1397,16 @@ int main(int argc, char *argv[])
if (child == INVALID_HANDLE_VALUE)
return 1;
- if (wait_handle == INVALID_HANDLE_VALUE)
- wait_handle = child;
+ wait_handle = child;
}
if (game_process)
CreateThread(NULL, 0, steam_drm_thread, child, 0, NULL);
}
+ if (game_process)
+ wait_handle = __wine_make_process_system();
+
if(wait_handle != INVALID_HANDLE_VALUE)
{
FreeConsole();
diff --git a/wine b/wine
-Subproject 8ce2117667288926dcfc058724f2a530d83842b
+Subproject 911a8f7ade6d0b8bf44c7da8823c51c7209957c