summaryrefslogtreecommitdiffstats
path: root/x11vnc/pointer.c
diff options
context:
space:
mode:
authorrunge <runge@karlrunge.com>2009-12-15 09:17:37 -0500
committerrunge <runge@karlrunge.com>2009-12-15 09:17:37 -0500
commitd6c012e9688d32d80c288541615c01cd082ecf0a (patch)
tree83ab0988d56d3a4f29cd419a8d20381fb35ed128 /x11vnc/pointer.c
parent8f5c9ef01ef9101cf8f8d8f1eacdaab27ac7c2c8 (diff)
downloadlibtdevnc-d6c012e9688d32d80c288541615c01cd082ecf0a.tar.gz
libtdevnc-d6c012e9688d32d80c288541615c01cd082ecf0a.zip
X props names via env var. fakebuttonevent action, connect_switch and
ultravnc_repeater.pl scripts, find_display try FD_XDM on failure, -quiet and -storepasswd changes, better port 113 testing.
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r--x11vnc/pointer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/x11vnc/pointer.c b/x11vnc/pointer.c
index c509b3b..d359d0d 100644
--- a/x11vnc/pointer.c
+++ b/x11vnc/pointer.c
@@ -265,9 +265,11 @@ void initialize_pointer_map(char *pointer_remap) {
X_LOCK;
num_buttons = XGetPointerMapping(dpy, map, MAX_BUTTONS);
X_UNLOCK;
+ rfbLog("The X server says there are %d mouse buttons.\n", num_buttons);
#endif
} else {
num_buttons = 5;
+ rfbLog("Manually set num_buttons to: %d\n", num_buttons);
}
if (num_buttons < 0) {