Rootless: RootlessEnsureFrame: Added check for !IsRoot
This was causing an issue with Apple-DRI and was reported here:
http://trac.macosforge.org/projects/xquartz/ticket/51
(cherry picked from commit 116800279d
)
This commit is contained in:
parent
16b0614c8c
commit
4fc2d3cef8
|
@ -471,7 +471,7 @@ RootlessEnsureFrame(WindowPtr pWin)
|
||||||
if (WINREC(pWin) != NULL)
|
if (WINREC(pWin) != NULL)
|
||||||
return WINREC(pWin);
|
return WINREC(pWin);
|
||||||
|
|
||||||
if (!IsTopLevel(pWin))
|
if (!IsTopLevel(pWin) && !IsRoot(pWin))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (pWin->drawable.class != InputOutput)
|
if (pWin->drawable.class != InputOutput)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user