Lines 81-90
Link Here
|
81 |
register long rlen; |
81 |
register long rlen; |
82 |
XExtDisplayInfo *info = XInput_find_display (dpy); |
82 |
XExtDisplayInfo *info = XInput_find_display (dpy); |
83 |
|
83 |
|
84 |
LockDisplay (dpy); |
|
|
85 |
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1) |
84 |
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1) |
86 |
return ((XDeviceInfo *) NULL); |
85 |
return ((XDeviceInfo *) NULL); |
87 |
|
86 |
|
|
|
87 |
LockDisplay (dpy); |
88 |
GetReq(ListInputDevices,req); |
88 |
GetReq(ListInputDevices,req); |
89 |
req->reqType = info->codes->major_opcode; |
89 |
req->reqType = info->codes->major_opcode; |
90 |
req->ReqType = X_ListInputDevices; |
90 |
req->ReqType = X_ListInputDevices; |