aboutsummaryrefslogtreecommitdiffstats
path: root/pugl
diff options
context:
space:
mode:
Diffstat (limited to 'pugl')
-rw-r--r--pugl/pugl_x11.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index dfa449e..03b696d 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -510,8 +510,9 @@ translateEvent(PuglView* view, XEvent xevent)
case 6: event.scroll.dx = -1.0f; break;
case 7: event.scroll.dx = 1.0f; break;
}
+ // fallthru
}
- // nobreak
+ // fallthru
case ButtonRelease:
if (xevent.xbutton.button < 4 || xevent.xbutton.button > 7) {
event.button.type = ((xevent.type == ButtonPress)