mirror of
https://github.com/mpv-player/mpv
synced 2025-01-02 21:12:23 +00:00
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:
parent
522bfe5be1
commit
74c6e7ba1d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user