diff options
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r-- | pugl/pugl_x11.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c index d9fccf2..bd29074 100644 --- a/pugl/pugl_x11.c +++ b/pugl/pugl_x11.c @@ -296,7 +296,9 @@ puglProcessEvents(PuglView* view) case 6: dx = -1.0f; break; case 7: dx = 1.0f; break; } - view->scrollFunc(view, dx, dy); + view->scrollFunc(view, + event.xbutton.x, event.xbutton.y, + dx, dy); } break; } |