diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-08 17:54:05 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-06-09 10:34:31 +1000 |
commit | c5bebca46f63bcd7279f3c73ed1d50e0c1b6051f (patch) | |
tree | 87bb9fbd9a4a87e60ddfe1579431f198bf63dcb0 /Xi/extinit.c | |
parent | 810b74dbbcc1db3e68e0f95ff5223ddb2032e46d (diff) |
Xi: hierarchy events have a num_info now instead of num_devices.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xi/extinit.c')
-rw-r--r-- | Xi/extinit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xi/extinit.c b/Xi/extinit.c index 549c5ca56..635afea95 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -786,10 +786,10 @@ static void SDeviceHierarchyEvent(xXIHierarchyEvent *from, swaps(&to->deviceid, n); swapl(&to->time, n); swapl(&to->flags, n); - swaps(&to->num_devices, n); + swaps(&to->num_info, n); info = (xXIHierarchyInfo*)&to[1]; - for (i = 0; i< from->num_devices; i++) + for (i = 0; i< from->num_info; i++) { swaps(&info->deviceid, n); swaps(&info->attachment, n); |