summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter@cs.unisa.edu.au>2008-02-14 18:25:24 +1030
committerPeter Hutterer <peter@cs.unisa.edu.au>2008-02-14 19:00:32 +1030
commitb512f47795bd125f6b04806d8a831f888febb67d (patch)
tree73482eae1ee0ce0881b983b60acee5addb02925d
parent330cfbd0ca6e6d1557e08ab0c555fe87acc7be29 (diff)
Change XChangeDeviceHieararchy API.
Single-pointer to changes is enough since we have a union now. Provide array first, then number of elements. This at least gives us consistency within the MPX-related stuff. The rest of Xlib can't seem to make its mind up about that.
-rw-r--r--XInput.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/XInput.h b/XInput.h
index 8b28a94..d48bc31 100644
--- a/XInput.h
+++ b/XInput.h
@@ -1368,8 +1368,8 @@ extern Status XUndefineDeviceCursor(
extern Status XChangeDeviceHierarchy(
Display* /* display */,
- int /* num_changes */,
- XAnyHierarchyChangeInfo** /* changes*/
+ XAnyHierarchyChangeInfo* /* changes*/,
+ int /* num_changes */
);
extern Bool XGetPairedPointer(