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/XDefDevCur.c | |
parent | eebdca00c416924b0423879a62498df8afed633e (diff) |
Adust to new device names (less "Device" in function names)
Diffstat (limited to 'src/XDefDevCur.c')
-rw-r--r-- | src/XDefDevCur.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/XDefDevCur.c b/src/XDefDevCur.c index 4826021..b8de706 100644 --- a/src/XDefDevCur.c +++ b/src/XDefDevCur.c @@ -26,7 +26,7 @@ in this Software without prior written authorization from The Open Group. /*********************************************************************** * - * XIDefineDeviceCursor - Change the cursor of an extension input device. + * XIDefineCursor - Change the cursor of an extension input device. * */ #include <stdint.h> @@ -38,9 +38,9 @@ in this Software without prior written authorization from The Open Group. #include "XIint.h" -int XIDefineDeviceCursor(Display *dpy, int deviceid, Window w, Cursor cursor) +int XIDefineCursor(Display *dpy, int deviceid, Window w, Cursor cursor) { - xXIChangeDeviceCursorReq *req; + xXIChangeCursorReq *req; XExtDisplayInfo *info = XInput_find_display(dpy); LockDisplay(dpy); @@ -48,9 +48,9 @@ int XIDefineDeviceCursor(Display *dpy, int deviceid, Window w, Cursor cursor) if (_XiCheckExtInit(dpy, XInput_Initial_Release, info) == -1) return (NoSuchExtension); - GetReq(XIChangeDeviceCursor, req); + GetReq(XIChangeCursor, req); req->reqType = info->codes->major_opcode; - req->ReqType = X_XIChangeDeviceCursor; + req->ReqType = X_XIChangeCursor; req->deviceid = deviceid; req->win = w; req->cursor = cursor; |