From 460e6b27130b8b24ec4bb4e01551d3edfbfe3a2a Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 16 Sep 2012 16:03:31 +0200 Subject: [PATCH] Give focus to the text buffer after pager click --- libchimara/pager.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libchimara/pager.c b/libchimara/pager.c index 456bcd1..c36edc7 100644 --- a/libchimara/pager.c +++ b/libchimara/pager.c @@ -79,6 +79,8 @@ pager_on_clicked(GtkButton *pager, winid_t win) double upper = gtk_adjustment_get_upper(adj); gtk_adjustment_set_value(adj, upper); check_paging(adj, win); + /* Give the focus back to the text view */ + gtk_widget_grab_focus(win->widget); } /* When the user scrolls up in a textbuffer, start paging. */ -- 2.30.2