Race condition in XDamage

Jonathan Lennox lennox at cs.columbia.edu
Fri Feb 4 05:42:03 PST 2005


On Thursday, February 3 2005, "Keith Packard" wrote to "Jonathan Lennox, Keith Packard, xorg at lists.freedesktop.org" saying:

> 
> Around 14 o'clock on Feb 3, Jonathan Lennox wrote:
> 
> > b) for Monitor to grab the server before XGetImage and
> > release it after DamageSubtract.  Is there some other alternative I'm
> > missing? 
> 
> I generally call DamageSubtract before the GetImage.  Is there some reason 
> this won't work?

Ah -- it didn't occur to me.  Never mind!

Perhaps this should be documented somewhere to prevent other people from
making the same dumb mistake as me. :-)

(Thanks also to Owen Taylor for the same suggestion.)
-- 
Jonathan Lennox
lennox at cs.columbia.edu



More information about the xorg mailing list