diff --git a/gfx/drivers_context/xegl_ctx.c b/gfx/drivers_context/xegl_ctx.c index 66bfc52846..a6dc7c6304 100644 --- a/gfx/drivers_context/xegl_ctx.c +++ b/gfx/drivers_context/xegl_ctx.c @@ -135,6 +135,8 @@ static void gfx_ctx_xegl_swap_interval(void *data, unsigned interval) } } +void x_input_poll_wheel(void *data, XButtonEvent *event, bool latch); + static void gfx_ctx_xegl_check_window(void *data, bool *quit, bool *resize, unsigned *width, unsigned *height, unsigned frame_count) { @@ -184,6 +186,7 @@ static void gfx_ctx_xegl_check_window(void *data, bool *quit, break; case ButtonPress: + x_input_poll_wheel(driver.input_data, &event.xbutton, true); break; case ButtonRelease: