Skip to content
  • Owen W. Taylor's avatar
    Add gdk_frame_clock_begin/end_updating() · 1db87c89
    Owen W. Taylor authored and Alexander Larsson's avatar Alexander Larsson committed
    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.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=693934
    1db87c89