summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-11-18 09:36:34 -0500
committerAdam Jackson <ajax@redhat.com>2009-11-18 09:36:34 -0500
commitb5983dbbd5f0cb4416b0e484fb43c80208feca25 (patch)
tree02e5dbb66134dbe22a51292f59b1e20a9662cf1a /src
parente39d9a265572c273915f1803a729e7211d7b247b (diff)
Compile fix.
Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'src')
-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)