mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-03 06:38:02 +02:00
XQuartz: Get rid of white rectangle bug
(cherry picked from commit3269959033) (cherry picked from commitfd6fb6a277)
This commit is contained in:
parent
5ff6b1e7ed
commit
87df8e6819
1 changed files with 5 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue