summaryrefslogtreecommitdiff
path: root/frontends
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-02 21:01:46 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2019-08-02 21:01:46 +0100
commit7c2811f5f66b8dce0e39057048922cceef94eb7f (patch)
treece8ecd3b12c1a0419c9b248c2fed0f5388c00545 /frontends
parent5e8b2d46535f61cfeda79c1571f52cd210d4b429 (diff)
downloadnetsurf-7c2811f5f66b8dce0e39057048922cceef94eb7f.tar.gz
netsurf-7c2811f5f66b8dce0e39057048922cceef94eb7f.tar.bz2
framebuffer/local_history: Scroll to cursor on open
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'frontends')
-rw-r--r--frontends/framebuffer/local_history.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/frontends/framebuffer/local_history.c b/frontends/framebuffer/local_history.c
index cc45b1f29..c1963e2b1 100644
--- a/frontends/framebuffer/local_history.c
+++ b/frontends/framebuffer/local_history.c
@@ -205,6 +205,7 @@ nserror fb_local_history_present(fbtk_widget_t *parent,
fbtk_set_zorder(local_history_window->core.wnd, INT_MIN);
fbtk_set_mapping(local_history_window->core.wnd, true);
+ local_history_scroll_to_cursor(local_history_window->session);
}
return res;