summaryrefslogtreecommitdiff
path: root/src/XExtInt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XExtInt.c')
-rw-r--r--src/XExtInt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/XExtInt.c b/src/XExtInt.c
index 6014657..94df1de 100644
--- a/src/XExtInt.c
+++ b/src/XExtInt.c
@@ -262,10 +262,7 @@ _XiCheckExtInit(
return (-1);
}
((XInputData *) info->data)->vers =
- _XiGetExtensionVersion(dpy, "XInputExtension",
- versions[version_index].major_version,
- versions[version_index].minor_version,
- info);
+ _XiGetExtensionVersion(dpy, "XInputExtension", info);
}
if (versions[version_index].major_version > Dont_Check) {