diff options
Diffstat (limited to 'x11vnc/win_utils.c')
-rw-r--r-- | x11vnc/win_utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/x11vnc/win_utils.c b/x11vnc/win_utils.c index c1da920..27d3f5d 100644 --- a/x11vnc/win_utils.c +++ b/x11vnc/win_utils.c @@ -378,6 +378,7 @@ int pick_windowid(unsigned long *num) { rfbLog(" exiting.\n"); clean_up_exit(1); } + close_exec_fds(); p = popen("xwininfo", "r"); if (! p) { |