summaryrefslogtreecommitdiffstats
path: root/x11vnc/options.c
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-05-21 10:57:03 -0400
committerrunge <runge@karlrunge.com>2009-05-21 10:57:03 -0400
commit94d058b35f075cec2d6e8b6e37ee1a94086ea3f8 (patch)
tree6cec0620ab70b5db6b33645dbcac1071f3c7a556 /x11vnc/options.c
parent804335f9d296440bb708ca844f5d89b58b50b0c6 (diff)
downloadlibtdevnc-94d058b35f075cec2d6e8b6e37ee1a94086ea3f8.tar.gz
libtdevnc-94d058b35f075cec2d6e8b6e37ee1a94086ea3f8.zip
Thread safety. Fix -clip -in -rawfb. Try to avoid Xorg stuck
key bug.
Diffstat (limited to 'x11vnc/options.c')
-rw-r--r--x11vnc/options.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/x11vnc/options.c b/x11vnc/options.c
index 4e31003..e25e530 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -344,7 +344,7 @@ char **scroll_skip_all = NULL;
char **scroll_skip_key = NULL;
char **scroll_skip_mouse = NULL;
char *scroll_skip_str = NULL;
-char *scroll_skip_str0 = "##Soffice.bin,##StarOffice";
+char *scroll_skip_str0 = "##Soffice.bin,##StarOffice,##OpenOffice";
/* "##Konsole," * no problems, known heuristics do not work */
char **scroll_term = NULL;
@@ -463,11 +463,8 @@ int quiet = 0;
int verbose = 0;
/* threaded vs. non-threaded (default) */
-#if LIBVNCSERVER_HAVE_LIBPTHREAD && defined(X11VNC_THREADED)
-int use_threads = 0; /* not 1. now X11VNC_THREADED means enable it at all. */
-#else
int use_threads = 0;
-#endif
+int started_rfbRunEventLoop = 0;
/* info about command line opts */
int got_noxwarppointer = 0;