diff options
author | marha <marha@users.sourceforge.net> | 2009-12-20 22:23:03 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2009-12-20 22:23:03 +0000 |
commit | c438f190eedc71ee8dd14e14fec660e98d3dc0bf (patch) | |
tree | 9f128ed0356e62d09b44a720ac20bdc60566b66e /xorg-server/xfixes/cursor.c | |
parent | d842f9ef1c88a7aad04a78613548fc0f0638ac48 (diff) | |
parent | d8432fdd4f13e9f9d1d44f5482faeb56562661a9 (diff) | |
download | vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.tar.gz vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.tar.bz2 vcxsrv-c438f190eedc71ee8dd14e14fec660e98d3dc0bf.zip |
svn merge ^/branches/released
Diffstat (limited to 'xorg-server/xfixes/cursor.c')
-rw-r--r-- | xorg-server/xfixes/cursor.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/xorg-server/xfixes/cursor.c b/xorg-server/xfixes/cursor.c index c98ef1ef4..9fa2e85d1 100644 --- a/xorg-server/xfixes/cursor.c +++ b/xorg-server/xfixes/cursor.c @@ -1086,9 +1086,12 @@ XFixesCursorInit (void) cs->pCursorHideCounts = NULL;
SetCursorScreen (pScreen, cs);
}
- CursorClientType = CreateNewResourceType(CursorFreeClient);
- CursorHideCountType = CreateNewResourceType(CursorFreeHideCount);
- CursorWindowType = CreateNewResourceType(CursorFreeWindow);
+ CursorClientType = CreateNewResourceType(CursorFreeClient,
+ "XFixesCursorClient");
+ CursorHideCountType = CreateNewResourceType(CursorFreeHideCount,
+ "XFixesCursorHideCount");
+ CursorWindowType = CreateNewResourceType(CursorFreeWindow,
+ "XFixesCursorWindow");
if (pInvisibleCursor == NULL) {
pInvisibleCursor = createInvisibleCursor();
@@ -1097,6 +1100,6 @@ XFixesCursorInit (void) }
}
- return CursorClientType && CursorWindowType;
+ return CursorClientType && CursorHideCountType && CursorWindowType;
}
|