summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2013-06-13 18:08:44 +0200
committerraveit65 <[email protected]>2017-09-06 18:25:34 +0200
commit387b00d43a02761833a43f5072b9599d8d237e80 (patch)
treee6744b48d1b53964629be04261c26d8fd4b6babd /libview/ev-view-private.h
parentac82f591013915acd09a345847c337589ac901ce (diff)
downloadatril-387b00d43a02761833a43f5072b9599d8d237e80.tar.bz2
atril-387b00d43a02761833a43f5072b9599d8d237e80.tar.xz
libview: Avoid to update the current page and scroll to the cursor position, if the caret cursor was not updated
Move the caret cursor only when requested by the user. Keep the page where the caret cursor is in addition to the offset inside that page. https://bugzilla.gnome.org/show_bug.cgi?id=702068 origin commit: https://git.gnome.org/browse/evince/commit/?h=gnome-3-10&id=4d15ab5
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index c286efbe..abdd43b7 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -217,6 +217,7 @@ struct _EvView {
/* Caret navigation */
gboolean caret_enabled;
gint cursor_offset;
+ gint cursor_page;
gboolean cursor_visible;
guint cursor_blink_timeout_id;
guint cursor_blink_time;