Skip to content
  • Carlos Garnacho's avatar
    GtkScrolledWindow: Always uninstall scroll cursor when starting deceleration · 9eb356d9
    Carlos Garnacho authored
    It could be the case that the last scroll event is received long after any
    previous scroll event, in this case the last scroll event discards all "old"
    scroll events, and scroll_history_finish() returns FALSE because there's no
    time/offset deltas in the scroll history.
    
    This is desired so we don't trigger the deceleration effect if there was no
    effective velocity, we still must reset the installed scroll cursor, so take
    it out of this if() condition.
    9eb356d9