diff options
author | Adam Jackson <ajax@redhat.com> | 2009-11-18 09:36:34 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-11-18 09:36:34 -0500 |
commit | b5983dbbd5f0cb4416b0e484fb43c80208feca25 (patch) | |
tree | 02e5dbb66134dbe22a51292f59b1e20a9662cf1a | |
parent | e39d9a265572c273915f1803a729e7211d7b247b (diff) |
Compile fix.
Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r-- | src/dummy_driver.c | 3 |
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) |