Commit c6140296 authored by Guillaume Duranceau's avatar Guillaume Duranceau Committed by Sebastian Ramacher

Update page number on mouse scroll

When scrolling a document by holding the middle mouse button, page
number was not updated.
parent 12f7b393
......@@ -386,6 +386,7 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
gtk_adjustment_get_value(x_adj) - (event->x - x));
zathura_adjustment_set_value(y_adj,
gtk_adjustment_get_value(y_adj) - (event->y - y));
zathura->global.update_page_number = true;
break;
/* unhandled events */
......
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