summaryrefslogtreecommitdiff
path: root/src/XIFreeEvent.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-03-08 21:16:33 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-03-11 14:49:07 +1000
commit30c2e3f9398f3d9cbae70150e4bb5cec6dfcc0a1 (patch)
tree2f8a1235e50e4cb3123517d4b60b505eacaedcf8 /src/XIFreeEvent.c
parent0cac1faccebdd317e889d2ae1a1570dc9430725f (diff)
Add support for XIDeviceChangedEvent
Diffstat (limited to 'src/XIFreeEvent.c')
-rw-r--r--src/XIFreeEvent.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/XIFreeEvent.c b/src/XIFreeEvent.c
index 2dd0100..053cd2e 100644
--- a/src/XIFreeEvent.c
+++ b/src/XIFreeEvent.c
@@ -49,5 +49,8 @@ XIFreeEventData(XIEvent *event)
free(ev->group);
}
break;
+ case XI_DeviceChanged:
+ free(((XIDeviceChangedEvent*)event)->classes);
+ break;
}
}