Allow buttons 6 and 7 to be used as well so that we can get horizontal
wheel events.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4442 3789f03b-4d11-0410-bbf8-ca57d06f2519
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc
index f36244a..f304d0e 100644
--- a/unix/xserver/hw/vnc/Input.cc
+++ b/unix/xserver/hw/vnc/Input.cc
@@ -72,7 +72,7 @@
static LogWriter vlog("Input");
-#define BUTTONS 5
+#define BUTTONS 7
static int pointerProc(DeviceIntPtr pDevice, int onoff);
static int keyboardProc(DeviceIntPtr pDevice, int onoff);