>You can't build a refresh into UpdateRects() because you may not want to sync >on each rect update, just the initial one. then coalesce multiple calls into one. Multiple calls to UpdateRects() are a bad idea anyway since it calls XSync() each time