mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 16:44:52 +00:00
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 116800279d2ec783c63f43d3902627edde6a4cff)
This commit is contained in:
@@ -471,7 +471,7 @@ RootlessEnsureFrame(WindowPtr pWin)
|
||||
if (WINREC(pWin) != NULL)
|
||||
return WINREC(pWin);
|
||||
|
||||
if (!IsTopLevel(pWin))
|
||||
if (!IsTopLevel(pWin) && !IsRoot(pWin))
|
||||
return NULL;
|
||||
|
||||
if (pWin->drawable.class != InputOutput)
|
||||
|
||||
Reference in New Issue
Block a user