diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2012-11-30 18:40:29 -0500 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-12-07 15:24:57 +1000 |
commit | a3836bba795891746b3f3782b2219d4d6c60d0fb (patch) | |
tree | c633c8f3cea1c8e4837eff2083ddf1eba38a4662 | |
parent | 664f498f6b6e3d7914a1f56601f064d3fdb6fd52 (diff) |
add root window
-rw-r--r-- | include/X11/extensions/XInput2.h | 1 | ||||
-rw-r--r-- | src/XExtInt.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index c0709e3..787a8d0 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -342,6 +342,7 @@ typedef struct { int deviceid; int sourceid; Window window; + Window root; int root_x; int root_y; double dx; diff --git a/src/XExtInt.c b/src/XExtInt.c index 503e2d7..a0406ec 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -2007,6 +2007,7 @@ wireToBarrierEvent(xXIBarrierEvent *in, XGenericEventCookie *cookie) out->evtype = in->evtype; out->window = in->window; + out->root = in->root; out->root_x = in->root_x; out->root_y = in->root_y; out->dx = FP3232_TO_DOUBLE (in->dx); |