mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-11 08:13:45 +01:00
Update page number on mouse scroll
When scrolling a document by holding the middle mouse button, page number was not updated.
This commit is contained in:
parent
12f7b393a6
commit
c6140296cd
@ -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));
|
gtk_adjustment_get_value(x_adj) - (event->x - x));
|
||||||
zathura_adjustment_set_value(y_adj,
|
zathura_adjustment_set_value(y_adj,
|
||||||
gtk_adjustment_get_value(y_adj) - (event->y - y));
|
gtk_adjustment_get_value(y_adj) - (event->y - y));
|
||||||
|
zathura->global.update_page_number = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
/* unhandled events */
|
/* unhandled events */
|
||||||
|
Loading…
Reference in New Issue
Block a user