summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpavelxdd <pavel.otchertsov@gmail.com>2017-12-12 01:00:16 +0300
committerJames Ross-Gowan <rossy@jrg.systems>2017-12-14 21:35:55 +1100
commit74c6e7ba1d02afce12b44fc63f2bba678fdb3577 (patch)
tree3a64f49d08594d09c1de9da25a5e96a3cde75691
parent522bfe5be1212f356acbbd7d566092f8bd8d0748 (diff)
downloadmpv-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.
-rw-r--r--osdep/subprocess-win.c2
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,