1 --- src/spawn-w32.c 2024-11-12 14:35:30.648259606 +0100
2 +++ src/spawn-w32.c 2024-11-12 14:35:56.972307401 +0100
4 /* Fixme: For unknown reasons AllowSetForegroundWindow returns
5 * an invalid argument error if we pass it the correct
6 * processID. As a workaround we use -1 (ASFW_ANY). */
7 - if (!AllowSetForegroundWindow (ASFW_ANY /*pi.dwProcessId*/))
8 - _gpgrt_log_info ("AllowSetForegroundWindow() failed: ec=%d\n",
9 - (int)GetLastError ());
10 + //if (!AllowSetForegroundWindow (ASFW_ANY /*pi.dwProcessId*/))
11 + // _gpgrt_log_info ("AllowSetForegroundWindow() failed: ec=%d\n",
12 + // (int)GetLastError ());
15 /* Process has been created suspended; resume it now. */