mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 14:16:01 +01:00
Pass actual event instead of NULL pointer to sc_scroll
This commit is contained in:
parent
51acd4c9af
commit
44480523ac
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue