summaryrefslogtreecommitdiff
path: root/dix/devices.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-17 22:38:24 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-18 14:41:50 +1000
commit280b7f92d729ec910ffa3d18dce7bbc215be7a3c (patch)
tree9b3fcfefa1f5e5813dae715f669ca5a454d86459 /dix/devices.c
parent6c7d992735eebbd7a20247926e7725896348b865 (diff)
dix: reduce MDs and xtest pointers to 7 buttons by default.
MD's will soon be the union of all devices anyway. XTest pointers are only for the core protocol XTest stuff, so 7 buttons (lmr + 4 wheel buttons) should do. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/devices.c')
-rw-r--r--dix/devices.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/devices.c b/dix/devices.c
index 5fa196e1f..3d190657e 100644
--- a/dix/devices.c
+++ b/dix/devices.c
@@ -554,7 +554,7 @@ CoreKeyboardProc(DeviceIntPtr pDev, int what)
static int
CorePointerProc(DeviceIntPtr pDev, int what)
{
-#define NBUTTONS 32
+#define NBUTTONS 7
#define NAXES 2
BYTE map[NBUTTONS + 1];
int i = 0;