mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-08 11:19:12 +02:00
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:
parent
5f2cc1e2b9
commit
c4595fad1d
2 changed files with 7 additions and 8 deletions
4
ge.h
4
ge.h
|
|
@ -47,9 +47,7 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#define X_GenericEvent 0
|
||||
|
||||
#define GENumberEvents (X_GenericEvent + 1)
|
||||
#define GENumberEvents 0
|
||||
|
||||
/*********************************************************
|
||||
*
|
||||
|
|
|
|||
11
geproto.txt
11
geproto.txt
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue