XQuartz: Get rid of white rectangle bug
This commit is contained in:
parent
60c8d26970
commit
3269959033
|
@ -632,7 +632,7 @@ RootlessReorderWindow(WindowPtr 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;
|
||||
RootlessWindowRec *newPrev;
|
||||
RootlessFrameID newPrevID;
|
||||
|
@ -1662,7 +1662,10 @@ RootlessOrderAllWindows (void)
|
|||
{
|
||||
int i;
|
||||
WindowPtr pWin;
|
||||
|
||||
|
||||
if (windows_hidden)
|
||||
return;
|
||||
|
||||
RL_DEBUG_MSG("RootlessOrderAllWindows() ");
|
||||
for (i = 0; i < screenInfo.numScreens; i++) {
|
||||
if (screenInfo.screens[i] == NULL) continue;
|
||||
|
|
Loading…
Reference in New Issue
Block a user