summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dummy_driver.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index f68cfc9..a569fc7 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -765,12 +765,13 @@ Atom VFB_PROP = 0;
static Bool
DUMMYCreateWindow(WindowPtr pWin)
{
+ ScreenPtr pScreen = pWin->drawable.pScreen;
DUMMYPtr dPtr = DUMMYPTR(DUMMYScrn);
WindowPtr pWinRoot;
int ret;
pScreen->CreateWindow = dPtr->CreateWindow;
- ret = dPtr->CreateWindow(pWin);
+ ret = pScreen->CreateWindow(pWin);
pScreen->CreateWindow = DUMMYCreateWindow;
if(ret != TRUE)