Use CursorScreenKey.

This commit is contained in:
David Reveman 2008-10-20 16:51:37 -04:00
parent 2fda3eb35b
commit 8be57614e5

View file

@ -115,7 +115,7 @@
/** Initialize the private area for the cursor functions. */
Bool dmxInitCursor(ScreenPtr pScreen)
{
if (!dixRequestPrivate(pScreen, sizeof(dmxCursorPrivRec)))
if (!dixRequestPrivate(CursorScreenKey(pScreen), sizeof(dmxCursorPrivRec)))
return FALSE;
if (!dixRequestPrivate (dmxDevicePrivateKey, sizeof(dmxDevicePrivRec)))