]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
Scroll whole list on mouse wheel action
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index 158f2ed1f586552732c81ff3186b656d79ace4ed..4efcf85e1a3cde7ee45626a325e367c8c9300465 100644 (file)
--- a/ui.c
+++ b/ui.c
@@ -556,9 +556,9 @@ get_commands()
                                                refresh_list();
                                        }
                                } else if(event.bstate & BUTTON4_PRESSED) {
-                                       scroll_up();
+                                       scroll_list_up();
                                } else if(event.bstate & BUTTON5_PRESSED) {
-                                       scroll_down();
+                                       scroll_list_down();
                                }
                        }
                }