diff options
author | runge <runge> | 2006-12-10 03:12:02 +0000 |
---|---|---|
committer | runge <runge> | 2006-12-10 03:12:02 +0000 |
commit | 5b198763c597459a27e7e88827dcc748b98b6670 (patch) | |
tree | 07111d31dc1932bd6c5bb99bd899916e5efb7129 /x11vnc/win_utils.c | |
parent | 726cedb871a70aa6307df74e769605ee89bd52d0 (diff) | |
download | libvncserver-5b198763c597459a27e7e88827dcc748b98b6670.zip libvncserver-5b198763c597459a27e7e88827dcc748b98b6670.tar.gz |
x11vnc: FINDCREATEDISPLAY support to create X session if one cannot be found. Fix bug in java viewer.
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) { |