From 94d058b35f075cec2d6e8b6e37ee1a94086ea3f8 Mon Sep 17 00:00:00 2001 From: runge Date: Thu, 21 May 2009 10:57:03 -0400 Subject: Thread safety. Fix -clip -in -rawfb. Try to avoid Xorg stuck key bug. --- x11vnc/options.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'x11vnc/options.c') 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; -- cgit v1.2.1