mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 23:53:53 +01:00
Pass actual event instead of NULL pointer to sc_scroll
This commit is contained in:
parent
51acd4c9af
commit
44480523ac
@ -286,7 +286,7 @@ sc_mouse_scroll(girara_session_t* session, girara_argument_t* argument, girara_e
|
||||
case GIRARA_EVENT_SCROLL_LEFT:
|
||||
case GIRARA_EVENT_SCROLL_RIGHT:
|
||||
case GIRARA_EVENT_SCROLL_BIDIRECTIONAL:
|
||||
return sc_scroll(session, argument, NULL, t);
|
||||
return sc_scroll(session, argument, event, t);
|
||||
|
||||
/* drag */
|
||||
case GIRARA_EVENT_BUTTON_PRESS:
|
||||
|
Loading…
Reference in New Issue
Block a user