summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2008-12-10 11:35:09 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2008-12-10 12:42:45 +1000
commit0b4fef6337d88ae8ef05b8b73941350a9007565c (patch)
treec69b82f1ca755bd01d8b186ef053f7ecdb76b587 /mi
parentb36c398b11321a908cfe217108b26a32ffc1d850 (diff)
dix: move MAX_VALUATOR_EVENTS into include/input.h
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
-rw-r--r--mi/mieq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mieq.c b/mi/mieq.c
index aef6fae89..a05c9eb1b 100644
--- a/mi/mieq.c
+++ b/mi/mieq.c
@@ -93,7 +93,7 @@ mieqInit(void)
miEventQueue.handlers[i] = NULL;
for (i = 0; i < QUEUE_SIZE; i++)
{
- EventListPtr evlist = InitEventList(7); /* 1 + MAX_VALUATOR_EVENTS */
+ EventListPtr evlist = InitEventList(1 + MAX_VALUATOR_EVENTS);
if (!evlist)
FatalError("Could not allocate event queue.\n");
miEventQueue.events[i].events = evlist;