summaryrefslogtreecommitdiff
path: root/include/X11
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-06-07 17:56:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-06-12 16:28:22 +1000
commite018af45b7d0db784272fc9fc548bce382799144 (patch)
tree5f22edbc7d02c4e96a6e2425fae923dbc19eaebb /include/X11
parent5f217c70a42b743e7260035bd02065eca39bc268 (diff)
Add sourceid to device classes.
Diffstat (limited to 'include/X11')
-rw-r--r--include/X11/extensions/XInput2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index da80fa3..68b874c 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -78,11 +78,13 @@ typedef struct
typedef struct
{
int type;
+ int sourceid;
} XIAnyClassInfo;
typedef struct
{
int type;
+ int sourceid;
int num_buttons;
Atom *buttons;
} XIButtonClassInfo;
@@ -90,6 +92,7 @@ typedef struct
typedef struct
{
int type;
+ int sourceid;
int num_keycodes;
int *keycodes;
} XIKeyClassInfo;
@@ -97,6 +100,7 @@ typedef struct
typedef struct
{
int type;
+ int sourceid;
int number;
Atom name;
double min;