summaryrefslogtreecommitdiff
path: root/libview/ev-view-private.h
diff options
context:
space:
mode:
authorAntia Puentes <[email protected]>2013-09-20 11:51:11 +0200
committerraveit65 <[email protected]>2017-08-28 16:04:00 +0200
commit4cd8ca27cdc099338dbc09f192231de9d6390071 (patch)
treeabbef461875b2573479a3e3aa27ac5ce3b378365 /libview/ev-view-private.h
parentf03b70d2cd8ea6099af7b24fe2f7c024e9fdd323 (diff)
downloadatril-4cd8ca27cdc099338dbc09f192231de9d6390071.tar.bz2
atril-4cd8ca27cdc099338dbc09f192231de9d6390071.tar.xz
libview: Grab focus for form fields and links on mouse press
Rewritten focus annotations in a generic way. https://bugzilla.gnome.org/show_bug.cgi?id=706244 origin commit: https://git.gnome.org/browse/evince/commit/?id=fddb9ee
Diffstat (limited to 'libview/ev-view-private.h')
-rw-r--r--libview/ev-view-private.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libview/ev-view-private.h b/libview/ev-view-private.h
index f85af71d..7c8d14e8 100644
--- a/libview/ev-view-private.h
+++ b/libview/ev-view-private.h
@@ -201,10 +201,13 @@ struct _EvView {
/* Annotations */
GList *window_children;
EvViewWindowChild *window_child_focus;
- EvMapping *focus_annotation;
gboolean adding_annot;
EvAnnotationType adding_annot_type;
+ /* Focus */
+ EvMapping *focused_element;
+ guint focused_element_page;
+
/* Synctex */
EvMapping *synctex_result;