[PATCH 5/8] dix: Update window state based on paintable not viewable
Keith Packard
keithp at keithp.com
Sat Nov 22 00:11:41 PST 2014
Adam Jackson <ajax at redhat.com> writes:
> if (pChild->mapped) {
> - pChild->realized = TRUE;
> + pChild->realized = pChild->parent->realized;
> pChild->viewable = (pChild->drawable.class == InputOutput);
viewable == realized && class == InputOutput.
> - if (wasViewable) {
> - if (anyMarked) {
> - if (pLayerWin->parent == pWin)
> - (*pScreen->MarkWindow) (pWin);
> - else {
> - WindowPtr ptmp;
> + if (wasPaintable && anyMarked) {
I realize this is a sensible cleanup, but it's making verifying the
patch a lot harder because of the whitespace changes...
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20141122/8003ebc6/attachment.sig>
More information about the xorg-devel
mailing list