From 74c6e7ba1d02afce12b44fc63f2bba678fdb3577 Mon Sep 17 00:00:00 2001 From: pavelxdd Date: Tue, 12 Dec 2017 01:00:16 +0300 Subject: 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. --- osdep/subprocess-win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3