mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 08:13:47 +01:00
Pass actual event instead of NULL pointer to sc_scroll
This commit is contained in:
parent
98c8ceab2b
commit
75868a55f3
@ -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 New Issue
Block a user