aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xext/saver.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-03-23 15:46:04 +0000
committermarha <marha@users.sourceforge.net>2010-03-23 15:46:04 +0000
commitd335230702f56789a45c3f3ea8af0eefdcc8f6f4 (patch)
tree78f93ef63b83267674c1efb618399534e63b42f9 /xorg-server/Xext/saver.c
parentac80633ce275edddaa3e4fa2ae0c048ed00f7d74 (diff)
downloadvcxsrv-d335230702f56789a45c3f3ea8af0eefdcc8f6f4.tar.gz
vcxsrv-d335230702f56789a45c3f3ea8af0eefdcc8f6f4.tar.bz2
vcxsrv-d335230702f56789a45c3f3ea8af0eefdcc8f6f4.zip
svn merge -c507 ^/branches/released .
Diffstat (limited to 'xorg-server/Xext/saver.c')
-rw-r--r--xorg-server/Xext/saver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/Xext/saver.c b/xorg-server/Xext/saver.c
index ab8fd79c9..3c541a6ce 100644
--- a/xorg-server/Xext/saver.c
+++ b/xorg-server/Xext/saver.c
@@ -626,10 +626,10 @@ CreateSaverWindow (ScreenPtr pScreen)
FreeResource (pWin->drawable.id, RT_NONE);
return FALSE;
}
+ pAttr->pCursor->refcnt++;
if (pWin->optional->cursor)
FreeCursor (pWin->optional->cursor, (Cursor)0);
pWin->optional->cursor = pAttr->pCursor;
- pAttr->pCursor->refcnt++;
pWin->cursorIsNone = FALSE;
CheckWindowOptionalNeed (pWin);
mask |= CWCursor;