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.
(cherry picked from commit d1d398db76)
This commit is contained in:
George Staplin 2008-11-13 01:27:33 -07:00 committed by Jeremy Huddleston
parent f5841e9648
commit 1f301a0051

View File

@ -165,7 +165,11 @@ AppleWMDoReorderWindow(
atom = xa_apple_no_order_in(); atom = xa_apple_no_order_in();
rc = dixLookupProperty(&prop, pWin, atom, serverClient, DixReadAccess); rc = dixLookupProperty(&prop, pWin, atom, serverClient, DixReadAccess);
return (rc == Success) && (prop->type == atom);
if(Success == rc && prop->type == atom)
return 0;
return 1;
} }