Save position on the jumplist before and after jumping to a bookmark

Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
Marwan Tanager 2013-06-09 22:11:44 +02:00 committed by Sebastian Ramacher
parent afd008f466
commit a0c12d4cdd

View file

@ -111,7 +111,11 @@ cmd_bookmark_open(girara_session_t* session, girara_list_t* argument_list)
return false;
}
return page_set(zathura, bookmark->page - 1);
zathura_jumplist_add(zathura);
page_set(zathura, bookmark->page - 1);
zathura_jumplist_add(zathura);
return true;
}
bool