mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2025-12-30 14:20:14 +01:00
XQuartz: Restore the logic of AppleWMDoReorderWindow to the same as the 1.4 branch.
It was returning inverted values in comparison to the 1.4 branch. This resulted in the windows not drawing due to a deep path of: RootlessReorderWindow -> SCREENREC(pScreen)->imp->DoReorderWindow(winRec) - > xprDoReorderWindow -> AppleWMDoReorderWindow.
This commit is contained in:
parent
531f8599e2
commit
d1d398db76
1 changed files with 5 additions and 1 deletions
|
|
@ -175,7 +175,11 @@ AppleWMDoReorderWindow(
|
|||
|
||||
atom = xa_apple_no_order_in();
|
||||
rc = dixLookupProperty(&prop, pWin, atom, serverClient, DixReadAccess);
|
||||
return (rc == Success) && (prop->type == atom);
|
||||
|
||||
if(Success == rc && prop->type == atom)
|
||||
return 0;
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue