From 7c7c2c18864d166391e49758d83e9cc601bbfb17 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 27 Oct 2014 14:22:58 +1000 Subject: specs: rename EVENTMASK to EVTYPEMASK EVENTMASK was used twice in the spec, once as the actual bitmask for events, once as the set of deviceid, mask length and mask. The libXi public API uses XIEventMask for the latter data triplet, so leave EVENTMASK, and rename the pure bitmask to EVTYPEMASK. Reported-by: Gabriel Laskar Signed-off-by: Peter Hutterer Reviewed-by: Hans de Goede --- specs/XI2proto.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/specs/XI2proto.txt b/specs/XI2proto.txt index e3636ac..697dd89 100644 --- a/specs/XI2proto.txt +++ b/specs/XI2proto.txt @@ -672,9 +672,9 @@ Data types device hierarchy. See Section "The Master/Slave device hierarchy" for more information. - EVENTMASK - An EVENTMASK is a binary mask defined as (1 << event type). - A SETofEVENTMASK is a binary OR of zero or more EVENTMASK. + EVTYPEMASK + An EVTYPEMASK is a binary mask defined as (1 << event type). + A SETofEVTYPEMASK is a binary OR of zero or more EVTYPEMASK. FP1616 Fixed point decimal in 16.16 format as one INT16 and one CARD16. @@ -971,7 +971,7 @@ XISelectEvents EVENTMASK { deviceid: DEVICE, mask_len: CARD16, - mask: SETofEVENTMASK + mask: SETofEVTYPEMASK } window The window to select the events on. @@ -1392,7 +1392,7 @@ XIGrabDevice time: TIMESTAMP or CurrentTime cursor: Cursor mask_len: CARD16 - masks: SETofEVENTMASK + masks: SETofEVTYPEMASK ▶ status: Success, AlreadyGrabbed, Frozen, InvalidTime, NotViewable └─── @@ -1638,7 +1638,7 @@ XIPassiveGrabDevice paired_device_mode: { Synchronous, Asynchronous } num_modifiers: INT16 mask_len: CARD16 - masks: SETofEVENTMASK + masks: SETofEVTYPEMASK modifiers: LISTofSETofMODIFIERMASK ▶ num_modifiers_return: INT16 -- cgit v1.2.1