summaryrefslogtreecommitdiffstats
path: root/x11vnc/options.c
diff options
context:
space:
mode:
authorrunge <runge>2007-09-05 03:39:51 +0000
committerrunge <runge>2007-09-05 03:39:51 +0000
commit6a6d26a74701179672d59bfd153cc1a2e92e96bd (patch)
tree47537dd9d54f9c9e95c01e066435216bbac99ceb /x11vnc/options.c
parente30552512933e6f0a07b83dd3246a97ff5281503 (diff)
downloadlibtdevnc-6a6d26a74701179672d59bfd153cc1a2e92e96bd.tar.gz
libtdevnc-6a6d26a74701179672d59bfd153cc1a2e92e96bd.zip
x11vnc: -autoport, -finddpy, -xdummy. watch xrandr events. check_redir_services() utilities for Terminal services. Improve Xdummy.
Diffstat (limited to 'x11vnc/options.c')
-rw-r--r--x11vnc/options.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/x11vnc/options.c b/x11vnc/options.c
index a9192a0..8a494b6 100644
--- a/x11vnc/options.c
+++ b/x11vnc/options.c
@@ -10,6 +10,7 @@ int debug = 0;
char *use_dpy = NULL; /* -display */
int display_N = 0;
+int auto_port = 0;
char *auth_file = NULL; /* -auth/-xauth */
char *visual_str = NULL; /* -visual */
int set_visual_str_to_something = 0;
@@ -160,6 +161,7 @@ int debug_sel = 0;
int xtrap_input = 0; /* -xtrap for user input insertion */
int xinerama = XINERAMA; /* -xinerama */
int xrandr = 0; /* -xrandr */
+int xrandr_maybe = 1; /* check for events, but don't trap all calls */
char *xrandr_mode = NULL;
char *pad_geometry = NULL;
time_t pad_geometry_time = 0;
@@ -206,8 +208,8 @@ int wireframe_local = 1;
#ifdef NO_NCACHE
#define NCACHE 0
#else
-#define NCACHE -12
-#define xxNCACHE -1
+#define xxNCACHE -12
+#define NCACHE -1
#endif
#endif