summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/XExtInt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index c58ef7e..b66c797 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -1488,6 +1488,8 @@ wireToDeviceChangedEvent(xXIDeviceChangedEvent *in, XGenericEventCookie *cookie)
out->classes = (XIAnyClassInfo**)&out[1];
+ info.classes = out->classes;
+
copy_classes(&info, (xXIAnyInfo*)&in[1], in->num_classes);
return 1;