Hi!

I did animated GIF/MNG support for a simple Xlib image viewer and would like 
to use the X Synchronization extension instead of signals to handle the delay 
between frames, mostly just because I think it would be neat and clean to 
have a timer event in the event loop >:)

I'm creating an alarm using the SERVERTIME counter that I got from 
XSyncListSystemCounters and am getting the event okay, but it is really 
erratic. I'll get it fine for a couple times, then I'll get a bunch at once. 
I think I'm creating the alarm incorrectly. 

What is the proper way to configure XSyncAlarmAttributes if you have the 
handle to the system counter and would want to have the alarm go off, let's 
say, every 300ms?

Also, I am assuming the extension is rather portable. Is this correct?
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert

Reply via email to