summaryrefslogtreecommitdiff
path: root/src/XStFocus.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/XStFocus.c
parent6b055729fd0f89eedd2bf00befd8e42804f12b4a (diff)
Mass reindent. Sorry.XORG-7_0_99_901
Diffstat (limited to 'src/XStFocus.c')
-rw-r--r--src/XStFocus.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/XStFocus.c b/src/XStFocus.c
index fc61896..08578c8 100644
--- a/src/XStFocus.c
+++ b/src/XStFocus.c
@@ -62,18 +62,18 @@ SOFTWARE.
int
XSetDeviceFocus(dpy, dev, focus, revert_to, time)
- register Display *dpy;
- XDevice *dev;
- Window focus;
- int revert_to;
- Time time;
- {
- xSetDeviceFocusReq *req;
- XExtDisplayInfo *info = XInput_find_display (dpy);
-
- LockDisplay (dpy);
-
- GetReq(SetDeviceFocus,req);
+ register Display *dpy;
+ XDevice *dev;
+ Window focus;
+ int revert_to;
+ Time time;
+{
+ xSetDeviceFocusReq *req;
+ XExtDisplayInfo *info = XInput_find_display(dpy);
+
+ LockDisplay(dpy);
+
+ GetReq(SetDeviceFocus, req);
req->reqType = info->codes->major_opcode;
req->ReqType = X_SetDeviceFocus;
req->device = dev->device_id;
@@ -84,4 +84,4 @@ XSetDeviceFocus(dpy, dev, focus, revert_to, time)
UnlockDisplay(dpy);
SyncHandle();
return (Success);
- }
+}