summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput2.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 00ecf40..72405f1 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -216,12 +216,12 @@ typedef struct {
int extension; /* XI extension offset */
int evtype;
Time time;
+ int deviceid;
+ int sourceid;
int detail;
Window root;
Window event;
Window child;
- int deviceid;
- int sourceid;
double root_x;
double root_y;
double event_x;
@@ -240,9 +240,9 @@ typedef struct {
int extension; /* XI extension offset */
int evtype; /* XI_RawEvent */
Time time;
- int detail;
int deviceid;
int sourceid;
+ int detail;
int eventtype;
XIValuatorState valuators;
double *raw_values;
@@ -256,12 +256,12 @@ typedef struct {
int extension; /* XI extension offset */
int evtype;
Time time;
+ int deviceid;
+ int sourceid;
int detail;
Window root;
Window event;
Window child;
- int deviceid;
- int sourceid;
double root_x;
double root_y;
double event_x;