• Owen W. Taylor's avatar
    Add gdk_frame_clock_begin/end_updating() · 1db87c89
    Owen W. Taylor authored
    Add an API to start or stop continually updating the frame clock.
    This is a slight convenience for applcations and avoids the problem
    of getting one more frame run after an animation stops, but the
    primary motivation for this is because it looks like we might have
    to use timeBeginPeriod()/timeEndPeriod() on Windows to get reasonably
    accurate timing, and for that we'll need to know if there is an
    animation running.
video-timer.c 10.8 KB