Properly un/rewrap CreateWindow
Acked-by: Aaron Plattner <aplattner@nvidia.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
ecf513ae11
commit
a8366277a7
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user