X11 synchronization improvement.