aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/include/eventstr.h
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/include/eventstr.h')
-rw-r--r--xorg-server/include/eventstr.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xorg-server/include/eventstr.h b/xorg-server/include/eventstr.h
index 673207ce3..049688ca0 100644
--- a/xorg-server/include/eventstr.h
+++ b/xorg-server/include/eventstr.h
@@ -68,10 +68,6 @@ enum EventType {
ET_Internal = 0xFF /* First byte */
};
-#define CHECKEVENT(ev) if (ev && ((InternalEvent*)(ev))->any.header != 0xFF) \
- FatalError("Wrong event type %d.\n", \
- ((InternalEvent*)(ev))->any.header);
-
/**
* Used for ALL input device events internal in the server until
* copied into the matching protocol event.