From f50ac4deec13dfd070715f636887e12f6301070f Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 31 Mar 2006 14:50:24 +0000 Subject: Mass reindent. Sorry. --- src/XGtFocus.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'src/XGtFocus.c') diff --git a/src/XGtFocus.c b/src/XGtFocus.c index 29e8de7..08cebd9 100644 --- a/src/XGtFocus.c +++ b/src/XGtFocus.c @@ -61,32 +61,31 @@ SOFTWARE. #include "XIint.h" int -XGetDeviceFocus (dpy, dev, focus, revert_to, time) +XGetDeviceFocus(dpy, dev, focus, revert_to, time) register Display *dpy; XDevice *dev; Window *focus; int *revert_to; Time *time; - { - xGetDeviceFocusReq *req; - xGetDeviceFocusReply rep; - XExtDisplayInfo *info = XInput_find_display (dpy); +{ + xGetDeviceFocusReq *req; + xGetDeviceFocusReply rep; + XExtDisplayInfo *info = XInput_find_display(dpy); - LockDisplay (dpy); + LockDisplay(dpy); if (_XiCheckExtInit(dpy, XInput_Initial_Release) == -1) return (NoSuchExtension); - GetReq(GetDeviceFocus,req); + GetReq(GetDeviceFocus, req); req->reqType = info->codes->major_opcode; req->ReqType = X_GetDeviceFocus; req->deviceid = dev->device_id; - (void) _XReply (dpy, (xReply *) &rep, 0, xTrue); + (void)_XReply(dpy, (xReply *) & rep, 0, xTrue); *focus = rep.focus; *revert_to = rep.revertTo; *time = rep.time; UnlockDisplay(dpy); SyncHandle(); return (Success); - } - +} -- cgit v1.2.3