# # As reported on the Totem site. --- ./lib/Xi/XListDev.c.orig 2002-10-15 17:37:29.000000000 -0700 +++ ./lib/Xi/XListDev.c 2003-09-13 17:26:38.000000000 -0700 @@ -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;