summaryrefslogtreecommitdiffstats
path: root/x11vnc/x11vnc.c
diff options
context:
space:
mode:
authorrunge <runge>2006-12-17 22:24:12 +0000
committerrunge <runge>2006-12-17 22:24:12 +0000
commit399a175f0bb44865cbf3d6762ad081e2a49cd4c4 (patch)
treea2a799f254618ccb67e42373e11731bd45adb4ef /x11vnc/x11vnc.c
parentafc931f15dbd81cb257a10b3e1eb0b14240a0e6b (diff)
downloadlibtdevnc-399a175f0bb44865cbf3d6762ad081e2a49cd4c4.tar.gz
libtdevnc-399a175f0bb44865cbf3d6762ad081e2a49cd4c4.zip
x11vnc: make -xwarppointer the default if xinerama is active.
Diffstat (limited to 'x11vnc/x11vnc.c')
-rw-r--r--x11vnc/x11vnc.c3
1 files changed, 3 insertions, 0 deletions
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]);