summaryrefslogtreecommitdiff
path: root/src/Cursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Cursor.c')
-rw-r--r--src/Cursor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Cursor.c b/src/Cursor.c
index 2679a9e..1d44c80 100644
--- a/src/Cursor.c
+++ b/src/Cursor.c
@@ -45,7 +45,7 @@ XRenderCreateCursor (Display *dpy,
req->src = source;
req->x = x;
req->y = y;
-
+
UnlockDisplay(dpy);
SyncHandle();
return cid;
@@ -67,12 +67,12 @@ XRenderCreateAnimCursor (Display *dpy,
req->reqType = info->codes->major_opcode;
req->renderReqType = X_RenderCreateAnimCursor;
req->cid = cid = XAllocID (dpy);
-
+
len = (long) ncursor * SIZEOF (xAnimCursorElt) >> 2;
SetReqLen (req, len, len);
len <<= 2;
Data32 (dpy, (long *) cursors, len);
-
+
UnlockDisplay(dpy);
SyncHandle();
return cid;