mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2026-05-07 17:48:07 +02:00
read-only mirror of https://gitlab.freedesktop.org/xorg/proto/xorgproto
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>
|
||
|---|---|---|
| .gitignore | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| inputproto.pc.in | ||
| Makefile.am | ||
| XI.h | ||
| XI2.h | ||
| XI2proto.h | ||
| XI2proto.txt | ||
| XIproto.h | ||