diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-17 15:09:35 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-21 21:34:36 -0800 |
commit | fd6fb6a2771df152b57f9dfb159fa42a3b1d37cd (patch) | |
tree | 1b5584be8ff5a52b0e4bb3cb76873b54a14109e0 | |
parent | 488b7bb1bad3049c00779f643e1a98f22857cc97 (diff) |
XQuartz: Get rid of white rectangle bug
(cherry picked from commit 3269959033ed0c675a3a906666454df34086896a)
-rw-r--r-- | miext/rootless/rootlessWindow.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/miext/rootless/rootlessWindow.c b/miext/rootless/rootlessWindow.c index 1b202e12e..5ce26bd2f 100644 --- a/miext/rootless/rootlessWindow.c +++ b/miext/rootless/rootlessWindow.c | |||
@@ -628,7 +628,7 @@ RootlessReorderWindow(WindowPtr pWin) | |||
628 | { | 628 | { |
629 | RootlessWindowRec *winRec = WINREC(pWin); | 629 | RootlessWindowRec *winRec = WINREC(pWin); |
630 | 630 | ||
631 | if (winRec != NULL && !winRec->is_reorder_pending) { | 631 | if (pWin->realized && winRec != NULL && !winRec->is_reorder_pending && !windows_hidden) { |
632 | WindowPtr newPrevW; | 632 | WindowPtr newPrevW; |
633 | RootlessWindowRec *newPrev; | 633 | RootlessWindowRec *newPrev; |
634 | RootlessFrameID newPrevID; | 634 | RootlessFrameID newPrevID; |
@@ -1567,7 +1567,10 @@ RootlessOrderAllWindows (void) | |||
1567 | { | 1567 | { |
1568 | int i; | 1568 | int i; |
1569 | WindowPtr pWin; | 1569 | WindowPtr pWin; |
1570 | 1570 | ||
1571 | if (windows_hidden) | ||
1572 | return; | ||
1573 | |||
1571 | RL_DEBUG_MSG("RootlessOrderAllWindows() "); | 1574 | RL_DEBUG_MSG("RootlessOrderAllWindows() "); |
1572 | for (i = 0; i < screenInfo.numScreens; i++) { | 1575 | for (i = 0; i < screenInfo.numScreens; i++) { |
1573 | if (screenInfo.screens[i] == NULL) continue; | 1576 | if (screenInfo.screens[i] == NULL) continue; |