aboutsummaryrefslogtreecommitdiff
path: root/nncmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'nncmpp.c')
-rw-r--r--nncmpp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index 006cc0e..1b332ac 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -2961,6 +2961,7 @@ app_process_left_mouse_click (struct widget *w, int x, int y, int modifiers)
tab->item_top = (double) y / w->height
* (int) tab->item_count - visible_items / 2;
app_invalidate ();
+ app_fix_view_range ();
break;
}
case WIDGET_MESSAGE: