From 5563da4d911c4b4c648ca4923a11fb4d2e21ea08 Mon Sep 17 00:00:00 2001 From: Abdo Roig-Maranges Date: Tue, 2 Apr 2013 21:31:32 +0200 Subject: [PATCH] also adjust the horizontal position in sc_bisect Signed-off-by: Sebastian Ramacher --- shortcuts.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shortcuts.c b/shortcuts.c index b3820c0..583867f 100644 --- a/shortcuts.c +++ b/shortcuts.c @@ -874,6 +874,11 @@ sc_bisect(girara_session_t* session, girara_argument_t* argument, } break; } + + /* adjust horizontal position */ + GtkAdjustment* hadjustment = gtk_scrolled_window_get_hadjustment(GTK_SCROLLED_WINDOW(session->gtk.view)); + cb_view_hadjustment_changed(hadjustment, zathura); + return false; }