diff options
author | Jamey Sharp <jamey@minilop.net> | 2010-09-17 02:27:59 +0200 |
---|---|---|
committer | Jamey Sharp <jamey@minilop.net> | 2011-09-19 22:53:05 -0700 |
commit | 8f69c935f6d06ad92fd0e8d9fcb3cde86cd258f5 (patch) | |
tree | 71dc068c65f821d836d651a738eea9806c12e521 /hw/dmx | |
parent | c96a43888ceae72bf89c66de911120c0b6b7a71a (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 'hw/dmx')
-rw-r--r-- | hw/dmx/dmxcursor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dmx/dmxcursor.h b/hw/dmx/dmxcursor.h index 5242268c1..fc2e118e0 100644 --- a/hw/dmx/dmxcursor.h +++ b/hw/dmx/dmxcursor.h @@ -64,9 +64,9 @@ extern void dmxBECreateCursor(ScreenPtr pScreen, CursorPtr pCursor); extern Bool dmxBEFreeCursor(ScreenPtr pScreen, CursorPtr pCursor); #define DMX_GET_CURSOR_PRIV(_pCursor, _pScreen) ((dmxCursorPrivPtr) \ - dixLookupPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen))) + dixLookupScreenPrivate(&(_pCursor)->devPrivates, CursorScreenKey, _pScreen)) #define DMX_SET_CURSOR_PRIV(_pCursor, _pScreen, v) \ - dixSetPrivate(&(_pCursor)->devPrivates, CursorScreenKey(_pScreen), v) + dixSetScreenPrivate(&(_pCursor)->devPrivates, CursorScreenKey, _pScreen, v) #endif /* DMXCURSOR_H */ |