summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-01 14:35:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-05 14:12:04 +1000
commit7ecedb0f2ee5b53513205d1f0aa381451893b9c5 (patch)
treed193e5d0deb4a02d812be8958a7f5f5008da9c55 /include
parenta38d33f6ac765bc5a3296b325e2c9b4a6a10ebf1 (diff)
include: up the number of max. input devices to 40.
With the Xtest virtual slave devices we have 4 devices for each MD pointer/keyboard pair, plus the AllDevices and AllMasterDevices reserved deviceids. It's quite easy to hit the current limit. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include')
-rw-r--r--include/misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/misc.h b/include/misc.h
index 6a920cc9f..61dd9474c 100644
--- a/include/misc.h
+++ b/include/misc.h
@@ -86,7 +86,7 @@ OF THIS SOFTWARE.
#define MAXCLIENTS 256
#define MAXEXTENSIONS 128
#define MAXFORMATS 8
-#define MAXDEVICES 20 /* input devices */
+#define MAXDEVICES 40 /* input devices */
#define EXTENSION_EVENT_BASE 64
#define EXTENSION_BASE 128