diff options
Diffstat (limited to 'src/XIAllowEvents.c')
-rw-r--r-- | src/XIAllowEvents.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XIAllowEvents.c b/src/XIAllowEvents.c index 52c17ab..e7be099 100644 --- a/src/XIAllowEvents.c +++ b/src/XIAllowEvents.c @@ -50,7 +50,7 @@ _XIAllowEvents(Display *dpy, int deviceid, int event_mode, Time time, if (_XiCheckExtInit(dpy, XInput_2_0, extinfo) == -1) return (NoSuchExtension); - if (_XiCheckVersion(extinfo, XInput_2_2) == 0) + if (_XiCheckVersion(extinfo, XInput_2_2) >= 0) have_XI22 = True; if (have_XI22) |