summaryrefslogtreecommitdiff
path: root/src/XUngrDev.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-03-31 14:50:24 +0000
committerDaniel Stone <daniel@fooishbar.org>2006-03-31 14:50:24 +0000
commitf50ac4deec13dfd070715f636887e12f6301070f (patch)
treebe5857de4d38d644938ad796fcfaab2c37b9f99f /src/XUngrDev.c
parent6b055729fd0f89eedd2bf00befd8e42804f12b4a (diff)
Mass reindent. Sorry.XORG-7_0_99_901
Diffstat (limited to 'src/XUngrDev.c')
-rw-r--r--src/XUngrDev.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/XUngrDev.c b/src/XUngrDev.c
index e3aec36..ecc8887 100644
--- a/src/XUngrDev.c
+++ b/src/XUngrDev.c
@@ -61,26 +61,26 @@ SOFTWARE.
#include "XIint.h"
int
-XUngrabDevice (dpy, dev, time)
+XUngrabDevice(dpy, dev, time)
register Display *dpy;
XDevice *dev;
Time time;
- {
- register xUngrabDeviceReq *req;
- XExtDisplayInfo *info = XInput_find_display (dpy);
+{
+ register xUngrabDeviceReq *req;
+ XExtDisplayInfo *info = XInput_find_display(dpy);
- LockDisplay (dpy);
+ LockDisplay(dpy);
if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1)
return (NoSuchExtension);
- GetReq(UngrabDevice,req);
+ GetReq(UngrabDevice, req);
req->reqType = info->codes->major_opcode;
req->ReqType = X_UngrabDevice;
-
+
req->deviceid = dev->device_id;
req->time = time;
UnlockDisplay(dpy);
SyncHandle();
return (Success);
- }
+}