blob: 6ea72cfee99b29da890ac8a464e99d60183c8f2c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
--- xc/lib/Xi/XListDev.c.orig 2003-04-30 02:40:02.000000000 -0400
+++ xc/lib/Xi/XListDev.c 2003-04-30 02:40:27.000000000 -0400
@@ -81,10 +81,10 @@
register long rlen;
XExtDisplayInfo *info = XInput_find_display (dpy);
- LockDisplay (dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
return ((XDeviceInfo *) NULL);
+ LockDisplay (dpy);
GetReq(ListInputDevices,req);
req->reqType = info->codes->major_opcode;
req->ReqType = X_ListInputDevices;
|