From 03d0d638eeb5c0258839b4efb9ae5f2e1f7d0b12 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Thu, 18 Jul 2013 13:09:16 +0200 Subject: libview: Update the cursor area after positioning the cursor when moving between lines origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=074dfec --- libview/ev-view.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libview') diff --git a/libview/ev-view.c b/libview/ev-view.c index f2f8d0e8..5146d6cc 100644 --- a/libview/ev-view.c +++ b/libview/ev-view.c @@ -5403,6 +5403,9 @@ ev_view_move_cursor (EvView *view, gtk_widget_error_bell (GTK_WIDGET (view)); return TRUE; } + + if (!get_caret_cursor_area (view, view->cursor_page, view->cursor_offset, &rect)) + return TRUE; } else { view->cursor_line_offset = rect.x; } -- cgit v1.2.1