summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasper St. Pierre <jstpierre@mecheye.net>2012-11-30 18:39:43 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2012-12-07 15:24:57 +1000
commit8e2c7aa2cd12b1d1aa06b1e578501371b7125fdf (patch)
tree89cf780395468d2ba984fd09fb572ded902cb411
parent666b26a38cd7ae06123e474531b2e026a14d057e (diff)
rename x/y fields
-rw-r--r--include/X11/extensions/XInput2.h4
-rw-r--r--src/XExtInt.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index 0d1fe66..c0709e3 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -342,8 +342,8 @@ typedef struct {
int deviceid;
int sourceid;
Window window;
- int x;
- int y;
+ int root_x;
+ int root_y;
double dx;
double dy;
double raw_dx;
diff --git a/src/XExtInt.c b/src/XExtInt.c
index feadbe5..7282373 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -2006,8 +2006,8 @@ wireToBarrierEvent(xXIBarrierEvent *in, XGenericEventCookie *cookie)
out->extension = in->extension;
out->evtype = in->evtype;
- out->x = in->x;
- out->y = in->y;
+ out->root_x = in->root_x;
+ out->root_y = in->root_y;
out->dx = FP3232_TO_DOUBLE (in->dx);
out->dy = FP3232_TO_DOUBLE (in->dy);