From b5983dbbd5f0cb4416b0e484fb43c80208feca25 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Wed, 18 Nov 2009 09:36:34 -0500 Subject: [PATCH] Compile fix. Signed-off-by: Adam Jackson --- src/dummy_driver.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)