aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-11 20:57:58 +0200
committerDavid Robillard <d@drobilla.net>2018-09-11 21:08:28 +0200
commit0186a78fdc7e74394c62841d324d1a8bf2b91230 (patch)
tree108bfa5e87f3ff559676b8eee9fecd5e542db3b9 /pugl/pugl_x11.c
parentfb674c729ac1fcf464cac8b077be4d096282ac8f (diff)
downloadpugl-0186a78fdc7e74394c62841d324d1a8bf2b91230.tar.gz
pugl-0186a78fdc7e74394c62841d324d1a8bf2b91230.tar.bz2
pugl-0186a78fdc7e74394c62841d324d1a8bf2b91230.zip
Fix GCC8 fall-through warnings
Diffstat (limited to 'pugl/pugl_x11.c')
-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)