diff options
Diffstat (limited to 'x11vnc/pointer.c')
-rw-r--r-- | x11vnc/pointer.c | 2 |
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) { |