From 8f69c935f6d06ad92fd0e8d9fcb3cde86cd258f5 Mon Sep 17 00:00:00 2001 From: Jamey Sharp Date: Fri, 17 Sep 2010 02:27:59 +0200 Subject: Eliminate MAXSCREENS-sized CursorScreenKey array. Use new per-screen privates API instead. Commit by Jamey Sharp and Josh Triplett. Signed-off-by: Jamey Sharp Signed-off-by: Josh Triplett Reviewed-by: Peter Hutterer --- dix/cursor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dix/cursor.c') 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; -- cgit v1.2.3