summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-11-17 13:36:30 -0500
committerAdam Jackson <ajax@redhat.com>2009-11-17 17:14:42 -0500
commita8366277a70797a7fa9c8c0b739a5fdac066816f (patch)
tree7acfc7245ee47d0c6be207e78d365f6dd24f1794
parentecf513ae11399c5778ff7d988e838a2b6211a88b (diff)
Properly un/rewrap CreateWindow
Acked-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
-rw-r--r--src/dummy_driver.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dummy_driver.c b/src/dummy_driver.c
index 6f4b562..560b9b5 100644
--- a/src/dummy_driver.c
+++ b/src/dummy_driver.c
@@ -759,20 +759,20 @@ dummyModeInit(ScrnInfoPtr pScrn, DisplayModePtr mode)
return(TRUE);
}
-
Atom VFB_PROP = 0;
#define VFB_PROP_NAME "VFB_IDENT"
-
-
static Bool
DUMMYCreateWindow(WindowPtr pWin)
{
DUMMYPtr dPtr = DUMMYPTR(DUMMYScrn);
WindowPtr pWinRoot;
int ret;
-
+
+ pScreen->CreateWindow = dPtr->CreateWindow;
ret = dPtr->CreateWindow(pWin);
+ pScreen->CreateWindow = DUMMYCreateWindow;
+
if(ret != TRUE)
return(ret);