mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-25 21:02:21 +00:00
dix: add a MAXEVENTS define for the number of core + extension events
Not including GenericEvents Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Walter Harms <wharms@bfs.de> Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
This commit is contained in:
parent
adf8a0d62c
commit
f0de5e3990
5 changed files with 8 additions and 7 deletions
|
|
@ -89,6 +89,8 @@ OF THIS SOFTWARE.
|
|||
#define MAXFORMATS 8
|
||||
#define MAXDEVICES 40 /* input devices */
|
||||
|
||||
/* 128 event opcodes for core + extension events, excluding GE */
|
||||
#define MAXEVENTS 128
|
||||
#define EXTENSION_EVENT_BASE 64
|
||||
#define EXTENSION_BASE 128
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue