Code

list_window: moved auto-scrolling code to list_window_check_origin()
authorMax Kellermann <max@duempel.org>
Sat, 10 Oct 2009 15:45:23 +0000 (17:45 +0200)
committerMax Kellermann <max@duempel.org>
Sat, 10 Oct 2009 15:45:23 +0000 (17:45 +0200)
commitc195305a585b8c0c0780004a42805d53a6bd55f3
treec33aae5dcb680b8020c5a0f2328d90c8da255a18
parent2d5758c66089501bd41015c718dfb3eeb934373f
list_window: moved auto-scrolling code to list_window_check_origin()

Moved code from list_window_paint().  Call it in list_window_resize(),
list_window_set_length(), list_window_set_cursor(),
list_window_move_cursor().  Now that all the modifying code has been
removed from list_window_paint(), we can pass a const object to that
function.
src/list_window.c
src/list_window.h