diff options
Diffstat (limited to 'src/XStFocus.c')
-rw-r--r-- | src/XStFocus.c | 26 |
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); - } +} |