summaryrefslogtreecommitdiff
path: root/src/XISetDevFocus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/XISetDevFocus.c')
-rw-r--r--src/XISetDevFocus.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/XISetDevFocus.c b/src/XISetDevFocus.c
index c394c02..e1567bd 100644
--- a/src/XISetDevFocus.c
+++ b/src/XISetDevFocus.c
@@ -30,9 +30,9 @@
#include "XIint.h"
Status
-XISetDeviceFocus(Display *dpy, int deviceid, Window focus, Time time)
+XISetFocus(Display *dpy, int deviceid, Window focus, Time time)
{
- xXISetDeviceFocusReq *req;
+ xXISetFocusReq *req;
XExtDisplayInfo *extinfo = XInput_find_display(dpy);
@@ -40,9 +40,9 @@ XISetDeviceFocus(Display *dpy, int deviceid, Window focus, Time time)
if (_XiCheckExtInit(dpy, Dont_Check, extinfo) == -1)
return (NoSuchExtension);
- GetReq(XISetDeviceFocus, req);
+ GetReq(XISetFocus, req);
req->reqType = extinfo->codes->major_opcode;
- req->ReqType = X_XISetDeviceFocus;
+ req->ReqType = X_XISetFocus;
req->deviceid = deviceid;
req->focus = focus;
req->time = time;