subprocess-win: don't change the mouse cursor in CreateProcess

By default the CreateProcess changes the mouse cursor to
IDC_APPSTARTING. The new flag added to STARTUPINFOEXW prevents
changing the cursor from default arrow on creating a new process.
This commit is contained in:
pavelxdd authored and James Ross-Gowan committed 2017-12-14 21:35:55 +11:00
1 parent 522bfe5be1
commit 74c6e7ba1d
1 file changed
+1 -1
+1 -1
View File
@@ -251,7 +251,7 @@ int mp_subprocess(char **args, struct mp_cancel *cancel, void *ctx,
STARTUPINFOEXW si = {
.StartupInfo = {
.cb = sizeof(si),
.dwFlags = STARTF_USESTDHANDLES,
.dwFlags = STARTF_USESTDHANDLES | STARTF_FORCEOFFFEEDBACK,
.hStdInput = NULL,
.hStdOutput = pipes[0].write,
.hStdError = pipes[1].write,