diff options
author | Daniel Stone <daniel@fooishbar.org> | 2006-03-31 14:50:24 +0000 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2006-03-31 14:50:24 +0000 |
commit | f50ac4deec13dfd070715f636887e12f6301070f (patch) | |
tree | be5857de4d38d644938ad796fcfaab2c37b9f99f /src/XCloseDev.c | |
parent | 6b055729fd0f89eedd2bf00befd8e42804f12b4a (diff) |
Mass reindent. Sorry.XORG-7_0_99_901
Diffstat (limited to 'src/XCloseDev.c')
-rw-r--r-- | src/XCloseDev.c | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/src/XCloseDev.c b/src/XCloseDev.c index 170843b..71e792a 100644 --- a/src/XCloseDev.c +++ b/src/XCloseDev.c @@ -62,24 +62,23 @@ SOFTWARE. int XCloseDevice(dpy, dev) - register Display *dpy; - register XDevice *dev; - { - xCloseDeviceReq *req; - XExtDisplayInfo *info = XInput_find_display (dpy); + register Display *dpy; + register XDevice *dev; +{ + xCloseDeviceReq *req; + XExtDisplayInfo *info = XInput_find_display(dpy); - LockDisplay (dpy); + LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1) return (NoSuchExtension); - GetReq(CloseDevice,req); + GetReq(CloseDevice, req); req->reqType = info->codes->major_opcode; req->ReqType = X_CloseDevice; req->deviceid = dev->device_id; - XFree ((char *)dev); - UnlockDisplay (dpy); + XFree((char *)dev); + UnlockDisplay(dpy); SyncHandle(); return (Success); - } - +} |