XGE: Don't reserve an extension event.

The Generic Event Extension extension uses the "GenericEvent" core event type,
so it doesn't need to also reserve an extension event.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Aaron Plattner 2010-03-30 09:54:26 -07:00
parent 5f2cc1e2b9
commit c4595fad1d
2 changed files with 7 additions and 8 deletions

4
ge.h
View file

@ -47,9 +47,7 @@
*
*/
#define X_GenericEvent 0
#define GENumberEvents (X_GenericEvent + 1)
#define GENumberEvents 0
/*********************************************************
*

View file

@ -5,7 +5,7 @@
1. Introduction
2. Extension Initialization
3. Extension Events
3. Events
4. Notes
_____________________________________________________________________________
@ -47,14 +47,15 @@ The name of this extension is "Generic Event Extension"
As of version 1.0, no other requests are provided by this extension.
_____________________________________________________________________________
3. Extension Events
3. Events
GE defines a single event, to be used by all extensions. The event's structure
is similar to a reply.
GE defines a single event, to be used by all extensions. The event's structure
is similar to a reply. This is a core protocol event, ID 35, and is not itself
an extension event.
┌───
GenericEvent
type: BYTE; always GenericEvent
type: BYTE; always GenericEvent (35)
extension: CARD8; extension offset
sequenceNumber: CARD16 low 16 bits of request seq. number
length: CARD32 length