summaryrefslogtreecommitdiff
path: root/dix/cursor.c
diff options
context:
space:
mode:
authorJamey Sharp <jamey@minilop.net>2010-09-17 02:27:59 +0200
committerJamey Sharp <jamey@minilop.net>2011-09-19 22:53:05 -0700
commit8f69c935f6d06ad92fd0e8d9fcb3cde86cd258f5 (patch)
tree71dc068c65f821d836d651a738eea9806c12e521 /dix/cursor.c
parentc96a43888ceae72bf89c66de911120c0b6b7a71a (diff)
Eliminate MAXSCREENS-sized CursorScreenKey array.
Use new per-screen privates API instead. Commit by Jamey Sharp and Josh Triplett. Signed-off-by: Jamey Sharp <jamey@minilop.net> Signed-off-by: Josh Triplett <josh@joshtriplett.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'dix/cursor.c')
-rw-r--r--dix/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/cursor.c b/dix/cursor.c
index c191c1e88..f29cb1125 100644
--- a/dix/cursor.c
+++ b/dix/cursor.c
@@ -72,7 +72,7 @@ typedef struct _GlyphShare {
static GlyphSharePtr sharedGlyphs = (GlyphSharePtr)NULL;
-DevPrivateKeyRec cursorScreenDevPriv[MAXSCREENS];
+DevScreenPrivateKeyRec cursorScreenDevPriv;
#ifdef XFIXES
static CARD32 cursorSerial;