From 399a175f0bb44865cbf3d6762ad081e2a49cd4c4 Mon Sep 17 00:00:00 2001 From: runge Date: Sun, 17 Dec 2006 22:24:12 +0000 Subject: x11vnc: make -xwarppointer the default if xinerama is active. --- x11vnc/x11vnc.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'x11vnc/x11vnc.c') diff --git a/x11vnc/x11vnc.c b/x11vnc/x11vnc.c index 0824457..5e4417b 100644 --- a/x11vnc/x11vnc.c +++ b/x11vnc/x11vnc.c @@ -2097,6 +2097,9 @@ int main(int argc, char* argv[]) { cursor_pos_updates = 0; } else if (!strcmp(arg, "-xwarppointer")) { use_xwarppointer = 1; + } else if (!strcmp(arg, "-noxwarppointer")) { + use_xwarppointer = 0; + got_noxwarppointer = 1; } else if (!strcmp(arg, "-buttonmap")) { CHECK_ARGC pointer_remap = strdup(argv[++i]); -- cgit v1.2.1