Stephen J. Turnbull wrote:
Speaking of the event loop ... was your comment about "bad logic
repainting on every Expose _and probably doing XSync too_" mere
sarcasm, or do you have reason to believe the part about XSync? A
quick grep of the code suggests XSync is only used in response to a
user request (this includes scrollbars, though), where checking for X
protocol errors (presumably operations like opening the display), and
in server grabs.
I was guessing that an XSync was happening because it seems to actually
complete a repaint before it starts on the next one -- but I suppose it
could just be that the it's doing so much work that the X buffer gets
full and auto-flushes itself.
--
Jamie Zawinski
jwz(a)jwz.org
http://www.jwz.org/
jwz(a)dnalounge.com
http://www.dnalounge.com/