diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-09-28 15:36:37 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2013-09-28 15:36:37 +0000 |
commit | 38df610d40f8f526ef829d415c534c57c7ec5831 (patch) | |
tree | af68c6ff669aa089dccf201a866bd76388097bad /xserver/render/animcur.c | |
parent | 5c4c0022fdfd73890c4d9497d35bf24f09c08ecb (diff) |
Update to xserver 1.14.3
Diffstat (limited to 'xserver/render/animcur.c')
-rw-r--r-- | xserver/render/animcur.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xserver/render/animcur.c b/xserver/render/animcur.c index 9cbba83fa..038c5b9be 100644 --- a/xserver/render/animcur.c +++ b/xserver/render/animcur.c @@ -383,8 +383,7 @@ AnimCursorCreate(CursorPtr *cursors, CARD32 *deltas, int ncursor, ac->elts = (AnimCurElt *) (ac + 1); for (i = 0; i < ncursor; i++) { - cursors[i]->refcnt++; - ac->elts[i].pCursor = cursors[i]; + ac->elts[i].pCursor = RefCursor(cursors[i]); ac->elts[i].delay = deltas[i]; } |