diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-12 19:25:15 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-12 19:25:15 +1000 |
commit | b4d74eebcec3080fa4ac33c74835246457b00de3 (patch) | |
tree | da1f61fc2e1156d85a4ac23ddda473a3279e8a39 /src/XISetDevFocus.c | |
parent | eebdca00c416924b0423879a62498df8afed633e (diff) |
Adust to new device names (less "Device" in function names)
Diffstat (limited to 'src/XISetDevFocus.c')
-rw-r--r-- | src/XISetDevFocus.c | 8 |
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; |