From d6c012e9688d32d80c288541615c01cd082ecf0a Mon Sep 17 00:00:00 2001 From: runge Date: Tue, 15 Dec 2009 09:17:37 -0500 Subject: 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. --- x11vnc/pointer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'x11vnc/pointer.c') 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) { -- cgit v1.2.3