summaryrefslogtreecommitdiff
path: root/xfixes
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-15 14:13:53 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-15 14:13:53 -0400
commitdc84bb3418933297a8c005070902d9a91ed3d18f (patch)
treef639091ce50ef1772e4dceb10045975f275e8fb5 /xfixes
parentb424e01ec59d9600a02823f1522949325797268c (diff)
xace: add hooks + new access codes: core protocol cursor requests
Diffstat (limited to 'xfixes')
-rwxr-xr-xxfixes/cursor.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/xfixes/cursor.c b/xfixes/cursor.c
index 401c403c8..450f366f2 100755
--- a/xfixes/cursor.c
+++ b/xfixes/cursor.c
@@ -980,6 +980,7 @@ createInvisibleCursor (void)
CursorPtr pCursor;
static unsigned int *psrcbits, *pmaskbits;
CursorMetricRec cm;
+ int rc;
psrcbits = (unsigned int *) xalloc(4);
pmaskbits = (unsigned int *) xalloc(4);
@@ -994,12 +995,13 @@ createInvisibleCursor (void)
cm.xhot = 0;
cm.yhot = 0;
- pCursor = AllocCursor(
+ rc = AllocARGBCursor(
(unsigned char *)psrcbits,
(unsigned char *)pmaskbits,
- &cm,
+ NULL, &cm,
0, 0, 0,
- 0, 0, 0);
+ 0, 0, 0,
+ &pCursor, serverClient, (XID)0);
return pCursor;
}