From 7da29d759ad71bcb667704a9f6d9e2894dad0167 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 26 Oct 2016 17:24:09 -0400 Subject: Fix mouse click printing --- pugl_test.c | 1 + 1 file changed, 1 insertion(+) diff --git a/pugl_test.c b/pugl_test.c index 4a3d066..367e7a4 100644 --- a/pugl_test.c +++ b/pugl_test.c @@ -182,6 +182,7 @@ onEvent(PuglView* view, const PuglEvent* event) (event->type == PUGL_BUTTON_PRESS) ? "down" : "up", event->button.x, event->button.y); + printModifiers(view, event->scroll.state); break; case PUGL_SCROLL: fprintf(stderr, "Scroll %f %f %f %f ", -- cgit v1.2.1