diff options
Diffstat (limited to 'hw/dmx/dmxwindow.c')
-rw-r--r-- | hw/dmx/dmxwindow.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/dmx/dmxwindow.c b/hw/dmx/dmxwindow.c index 7ccecfb5b..7494e6df2 100644 --- a/hw/dmx/dmxwindow.c +++ b/hw/dmx/dmxwindow.c @@ -64,8 +64,7 @@ static void dmxDoSetShape(WindowPtr pWindow); /** Initialize the private area for the window functions. */ Bool dmxInitWindow(ScreenPtr pScreen) { - if (!AllocateWindowPrivate(pScreen, dmxWinPrivateIndex, - sizeof(dmxWinPrivRec))) + if (!dixRequestPrivate(dmxWinPrivateKey, sizeof(dmxWinPrivRec))) return FALSE; return TRUE; |