summaryrefslogtreecommitdiff
path: root/XI2proto.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-16 11:31:03 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-16 11:49:34 +1000
commitf4f09d40e0fd94d267b280f2a82385dca1141347 (patch)
tree164007e047575bdffe576102f86cab406b368618 /XI2proto.h
parent0ae6581bc62b3b734c84b12e9a92d945d3e98aa7 (diff)
downloadxorg-proto-inputproto-f4f09d40e0fd94d267b280f2a82385dca1141347.tar.gz
XI2.h: remove XI2Mask, add XISetMask and friends.
XISetMask, XIClearMask, XIMaskIsSet serve to set, clear or check a bit in the provided array. XIMaskLen is a macro to get the minimum length of a mask for a given event type. They are expected to be common ways to deal with event masks, i.e. clients will do: unsigned char mask[XIMaskLen(XI_ButtonRelease)] = {0}; XISetMask(mask, XI_ButtonPress) XISetMask(mask, XI_ButtonRelease) Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'XI2proto.h')
0 files changed, 0 insertions, 0 deletions