diff options
author | pavelxdd <pavel.otchertsov@gmail.com> | 2017-12-12 01:00:16 +0300 |
---|---|---|
committer | James Ross-Gowan <rossy@jrg.systems> | 2017-12-14 21:35:55 +1100 |
commit | 74c6e7ba1d02afce12b44fc63f2bba678fdb3577 (patch) | |
tree | 3a64f49d08594d09c1de9da25a5e96a3cde75691 /osdep/subprocess-win.c | |
parent | 522bfe5be1212f356acbbd7d566092f8bd8d0748 (diff) | |
download | mpv-74c6e7ba1d02afce12b44fc63f2bba678fdb3577.tar.bz2 mpv-74c6e7ba1d02afce12b44fc63f2bba678fdb3577.tar.xz |
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.
Diffstat (limited to 'osdep/subprocess-win.c')
-rw-r--r-- | osdep/subprocess-win.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/subprocess-win.c b/osdep/subprocess-win.c index 5df09cda78..bbb1f6f7fd 100644 --- a/osdep/subprocess-win.c +++ b/osdep/subprocess-win.c @@ -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, |