XQuartz: Get rid of white rectangle bug
(cherry picked from commit 3269959033
)
This commit is contained in:
parent
488b7bb1ba
commit
fd6fb6a277
@ -628,7 +628,7 @@ RootlessReorderWindow(WindowPtr pWin)
|
|||||||
{
|
{
|
||||||
RootlessWindowRec *winRec = WINREC(pWin);
|
RootlessWindowRec *winRec = WINREC(pWin);
|
||||||
|
|
||||||
if (winRec != NULL && !winRec->is_reorder_pending) {
|
if (pWin->realized && winRec != NULL && !winRec->is_reorder_pending && !windows_hidden) {
|
||||||
WindowPtr newPrevW;
|
WindowPtr newPrevW;
|
||||||
RootlessWindowRec *newPrev;
|
RootlessWindowRec *newPrev;
|
||||||
RootlessFrameID newPrevID;
|
RootlessFrameID newPrevID;
|
||||||
@ -1567,7 +1567,10 @@ RootlessOrderAllWindows (void)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
WindowPtr pWin;
|
WindowPtr pWin;
|
||||||
|
|
||||||
|
if (windows_hidden)
|
||||||
|
return;
|
||||||
|
|
||||||
RL_DEBUG_MSG("RootlessOrderAllWindows() ");
|
RL_DEBUG_MSG("RootlessOrderAllWindows() ");
|
||||||
for (i = 0; i < screenInfo.numScreens; i++) {
|
for (i = 0; i < screenInfo.numScreens; i++) {
|
||||||
if (screenInfo.screens[i] == NULL) continue;
|
if (screenInfo.screens[i] == NULL) continue;
|
||||||
|
Loading…
Reference in New Issue
Block a user