aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2011-05-24 11:32:36 +0000
committerPierre Ossman <ossman@cendio.se>2011-05-24 11:32:36 +0000
commit7e590a9d3751e4c806735b37d5dac497e9c7fdf6 (patch)
tree2391dbb2cc5bc4da7c800f638123e445a6490872
parent34dde79d89a813f7cb1fe0aa78cb320096682df0 (diff)
downloadtigervnc-7e590a9d3751e4c806735b37d5dac497e9c7fdf6.tar.gz
tigervnc-7e590a9d3751e4c806735b37d5dac497e9c7fdf6.zip
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
-rw-r--r--unix/xserver/hw/vnc/Input.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/xserver/hw/vnc/Input.cc b/unix/xserver/hw/vnc/Input.cc
index f36244a4..f304d0e0 100644
--- a/unix/xserver/hw/vnc/Input.cc
+++ b/unix/xserver/hw/vnc/Input.cc
@@ -72,7 +72,7 @@ using namespace rfb;
static LogWriter vlog("Input");
-#define BUTTONS 5
+#define BUTTONS 7
static int pointerProc(DeviceIntPtr pDevice, int onoff);
static int keyboardProc(DeviceIntPtr pDevice, int onoff);