mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-29 16:36:41 +01:00
Pass actual event instead of NULL pointer to sc_scroll
This commit is contained in:
parent
98c8ceab2b
commit
75868a55f3
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_LEFT:
|
||||||
case GIRARA_EVENT_SCROLL_RIGHT:
|
case GIRARA_EVENT_SCROLL_RIGHT:
|
||||||
case GIRARA_EVENT_SCROLL_BIDIRECTIONAL:
|
case GIRARA_EVENT_SCROLL_BIDIRECTIONAL:
|
||||||
return sc_scroll(session, argument, NULL, t);
|
return sc_scroll(session, argument, event, t);
|
||||||
|
|
||||||
/* drag */
|
/* drag */
|
||||||
case GIRARA_EVENT_BUTTON_PRESS:
|
case GIRARA_EVENT_BUTTON_PRESS:
|
||||||
|
|
Loading…
Reference in a new issue