diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-12-17 15:09:35 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-01-09 10:59:32 -0800 |
commit | 87df8e681988e546ed943b0f3e7df2851ada4712 (patch) | |
tree | 0011a7660700fdacd093d71c1eaa8470db1c07db /miext | |
parent | 5ff6b1e7ed11a37b2878f2f9a37b2afce00baeb0 (diff) |
XQuartz: Get rid of white rectangle bug
(cherry picked from commit 3269959033ed0c675a3a906666454df34086896a)
(cherry picked from commit fd6fb6a2771df152b57f9dfb159fa42a3b1d37cd)
Diffstat (limited to 'miext')
-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) { 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; @@ -1567,7 +1567,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; |