Jeremy Huddleston Sequoia <jerem...@apple.com> writes:

> Use any_output_pending() instead.

These aren't equivalent -- NewOutputPending is set when there is output
pending and we haven't detected that all of the clients with output
are blocked.

There's a patch for a bug in FlushAllOutput to set NewOutputPending when
we skip a client that has pending input. I attached that to my previous
message in this thread.

I think an alternative would be to remove write blocked clients from the
output pending list and re-add them when they became writable
again. Then we could use any_output_pending() instead of NewOutputPending.

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to