(Kral Stefan) wrote in message news:...
> Maybe you're done with a hack I did some time ago...
> On that page I describe how some XFree86-extension can be utilized to
> force synchronization with the vertical retrace.
> (If your app is somewhat performance-critical, you should probably
> not consider using the technique described...)

Thanks for all the help everyone. I'd love to use the hacks suggested including
the one above but unfortuntaly I need it to be cross platform , it has to
run on all possible versions of X servers , not just xfree86.

Anyway , the suggestions have been helpful.