Compile fix.
Signed-off-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
parent
e39d9a2655
commit
b5983dbbd5
@ -765,12 +765,13 @@ Atom VFB_PROP = 0;
|
|||||||
static Bool
|
static Bool
|
||||||
DUMMYCreateWindow(WindowPtr pWin)
|
DUMMYCreateWindow(WindowPtr pWin)
|
||||||
{
|
{
|
||||||
|
ScreenPtr pScreen = pWin->drawable.pScreen;
|
||||||
DUMMYPtr dPtr = DUMMYPTR(DUMMYScrn);
|
DUMMYPtr dPtr = DUMMYPTR(DUMMYScrn);
|
||||||
WindowPtr pWinRoot;
|
WindowPtr pWinRoot;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
pScreen->CreateWindow = dPtr->CreateWindow;
|
pScreen->CreateWindow = dPtr->CreateWindow;
|
||||||
ret = dPtr->CreateWindow(pWin);
|
ret = pScreen->CreateWindow(pWin);
|
||||||
pScreen->CreateWindow = DUMMYCreateWindow;
|
pScreen->CreateWindow = DUMMYCreateWindow;
|
||||||
|
|
||||||
if(ret != TRUE)
|
if(ret != TRUE)
|
||||||
|
Loading…
Reference in New Issue
Block a user