diff options
author | Roman Kapl <code@rkapl.cz> | 2018-06-07 03:32:08 +0200 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-06-27 10:20:59 +1000 |
commit | af9b5f43439378efd1e12d11d487a71f42790fec (patch) | |
tree | 6740fdc1f8256b3d7d162c7af7f5ff538adf1f9e /include/X11/extensions | |
parent | eb28f0378fadd0d143aad7ec16f7b91814faae9a (diff) |
Improve the ButtonInfo description.
It failed to mention it is followed by a bit-mask and then the atoms.
Signed-off-by: Roman Kapl <code@rkapl.cz>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'include/X11/extensions')
-rw-r--r-- | include/X11/extensions/XI2proto.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/X11/extensions/XI2proto.h b/include/X11/extensions/XI2proto.h index 4cdaa0d..28a9062 100644 --- a/include/X11/extensions/XI2proto.h +++ b/include/X11/extensions/XI2proto.h @@ -149,8 +149,9 @@ typedef struct { /** * Denotes button capability on a device. - * Struct is followed by num_buttons * Atom that names the buttons in the - * device-native setup (i.e. ignoring button mappings). + * Struct is followed by a button bit-mask (padded to four byte chunks) and + * then num_buttons * Atom that names the buttons in the device-native setup + * (i.e. ignoring button mappings). */ typedef struct { uint16_t type; /**< Always ButtonClass */ |