diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-14 14:19:44 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-14 14:20:58 +1000 |
commit | ea377ea55b2014310fb0777e41ae7044396e25a3 (patch) | |
tree | e2ec75aa8aa4c32ba0bac11444e4b1f457432a6f | |
parent | 0dd26fd87571c1e87ca6e8734e2c55f21e53ceb8 (diff) |
Label major/minor version in XIQueryVersion as _inout.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | include/X11/extensions/XInput2.h | 4 | ||||
-rw-r--r-- | src/XIQueryVersion.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h index 82299f8..483cc5f 100644 --- a/include/X11/extensions/XInput2.h +++ b/include/X11/extensions/XInput2.h @@ -345,8 +345,8 @@ extern int XISelectEvents( extern Status XIQueryVersion( Display* dpy, - int* major_version_return, - int* minor_version_return + int* major_version_inout, + int* minor_version_inout ); extern XIDeviceInfo* XIQueryDevice( diff --git a/src/XIQueryVersion.c b/src/XIQueryVersion.c index 4a386de..851d0d4 100644 --- a/src/XIQueryVersion.c +++ b/src/XIQueryVersion.c @@ -30,14 +30,14 @@ #include "XIint.h" Status -XIQueryVersion(Display *dpy, int *major_return, int *minor_return) +XIQueryVersion(Display *dpy, int *major_inout, int *minor_inout) { int rc = Success; XExtDisplayInfo *info = XInput_find_display(dpy); LockDisplay(dpy); - rc = _xiQueryVersion(dpy, major_return, minor_return, info); + rc = _xiQueryVersion(dpy, major_inout, minor_inout, info); UnlockDisplay(dpy); SyncHandle(); |