1
0
Эх сурвалжийг харах

libobs: Avoid busy cursor when starting processes

Windows 10 shows a busy cursor when a process is created, this is not
useful for our background processes which have no UI.
Richard Stanway 7 жил өмнө
parent
commit
834ebbd2d4

+ 1 - 1
libobs/util/pipe-windows.c

@@ -50,7 +50,7 @@ static inline bool create_process(const char *cmd_line, HANDLE stdin_handle,
 	bool success = false;
 
 	si.cb = sizeof(si);
-	si.dwFlags = STARTF_USESTDHANDLES;
+	si.dwFlags = STARTF_USESTDHANDLES | STARTF_FORCEOFFFEEDBACK;
 	si.hStdInput = stdin_handle;
 	si.hStdOutput = stdout_handle;