Commit 092fe818 authored by Marwan Tanager's avatar Marwan Tanager Committed by Sebastian Ramacher

Use jumplist with marks

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent a0c12d4c
......@@ -238,7 +238,9 @@ mark_evaluate(zathura_t* zathura, int key)
zathura_document_set_scale(zathura->document, mark->scale);
render_all(zathura);
position_set_delayed(zathura, mark->position_x, mark->position_y);
zathura_jumplist_add(zathura);
position_set(zathura, mark->position_x, mark->position_y);
zathura_jumplist_add(zathura);
cb_view_vadjustment_value_changed(NULL, zathura);
......
......@@ -28,7 +28,7 @@ enum {
ZATHURA_PAGE_NUMBER_UNSPECIFIED = INT_MIN
};
/* forward declaration for types form database.h */
/* forward declaration for types from database.h */
typedef struct _ZathuraDatabase zathura_database_t;
/* forward declaration for types from render.h */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment