aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-26 17:24:09 -0400
committerDavid Robillard <d@drobilla.net>2016-10-26 17:24:09 -0400
commit7da29d759ad71bcb667704a9f6d9e2894dad0167 (patch)
tree9389969a7550e8260674ac0ac06e17bc684971c6
parenta7a6fb766cf807adf4f49ba0ed66f4048f73abbc (diff)
downloadpugl-7da29d759ad71bcb667704a9f6d9e2894dad0167.tar.gz
pugl-7da29d759ad71bcb667704a9f6d9e2894dad0167.tar.bz2
pugl-7da29d759ad71bcb667704a9f6d9e2894dad0167.zip
Fix mouse click printing
-rw-r--r--pugl_test.c1
1 files changed, 1 insertions, 0 deletions
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 ",