diff options
Diffstat (limited to 'hw/dmx/dmxwindow.c')
-rw-r--r-- | hw/dmx/dmxwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dmx/dmxwindow.c b/hw/dmx/dmxwindow.c index 28212a330..44848281f 100644 --- a/hw/dmx/dmxwindow.c +++ b/hw/dmx/dmxwindow.c @@ -60,7 +60,7 @@ static void dmxDoSetShape(WindowPtr pWindow); /** Initialize the private area for the window functions. */ Bool dmxInitWindow(ScreenPtr pScreen) { - if (!dixRequestPrivate(dmxWinPrivateKey, sizeof(dmxWinPrivRec))) + if (!dixRegisterPrivateKey(&dmxWinPrivateKeyRec, PRIVATE_WINDOW, sizeof(dmxWinPrivRec))) return FALSE; return TRUE; |