diff options
-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 f5a318c..00ecf40 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -286,6 +286,7 @@ typedef struct { int extension; /* XI extension offset */ int evtype; /* XI_PropertyEvent */ Time time; + int deviceid; /* id of the device that changed */ Atom property; int what; } XIPropertyEvent; diff --git a/src/XExtInt.c b/src/XExtInt.c index e06cc91..816c8c0 100644 --- a/src/XExtInt.c +++ b/src/XExtInt.c @@ -1632,6 +1632,7 @@ wireToPropertyEvent(xXIPropertyEvent *in, XGenericEventCookie *cookie) out->time = in->time; out->property = in->property; out->what = in->what; + out->deviceid = in->deviceid; return 1; } |