Jeremy Huddleston Sequoia <> 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.


Attachment: signature.asc
Description: PGP signature

_______________________________________________ X.Org development

Reply via email to