From 75868a55f362d9bb8e14bc51a03b6b04e72feb1a Mon Sep 17 00:00:00 2001 From: Moritz Lipp Date: Tue, 21 Oct 2014 17:51:20 +0200 Subject: [PATCH] Pass actual event instead of NULL pointer to sc_scroll --- shortcuts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shortcuts.c b/shortcuts.c index 3e1f792..210852c 100644 --- a/shortcuts.c +++ b/shortcuts.c @@ -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: