Knowing if an XserverRegion is empty

Russell Shaw rjshaw at
Thu Nov 29 17:57:34 PST 2007

iain wrote:
> Sorry if this is a stupid question, but is it possible to know when an
> XserverRegion is empty? My use case is I iterate over a list or
> XserverRegions subtracting them from a larger region. I'd like to be
> able to stop iterating the list once the larger region has had
> everything subtracted from it. Is this possible?

More information about the xorg mailing list