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:
1 parent
522bfe5be1
commit
74c6e7ba1d
1 file changed
+1
-1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user