mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-28 09:50:07 +01: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 116800279d)
This commit is contained in:
parent
d6e234f96d
commit
b6aa41b56b
1 changed files with 1 additions and 1 deletions
|
|
@ -473,7 +473,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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue