aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 22:08:16 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 22:08:16 +0200
commit92c52206ca0de58e2964ef4603dd8ad2860eb1f9 (patch)
treea53c1cca457933d62e21346c8cc1d922ce5c7cb2
parent3c9efcf358fe1f5f3a8ee1b3ce4dfebbd0e86ff8 (diff)
parente9cc8ed0cb43268c03d266c1db619acb2e707306 (diff)
downloadmidi_matrix.lv2-92c52206ca0de58e2964ef4603dd8ad2860eb1f9.tar.xz
Merge commit 'e9cc8ed0cb43268c03d266c1db619acb2e707306'
-rw-r--r--pugl/pugl/pugl_x11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pugl/pugl/pugl_x11.c b/pugl/pugl/pugl_x11.c
index 5c20782..5afc880 100644
--- a/pugl/pugl/pugl_x11.c
+++ b/pugl/pugl/pugl_x11.c
@@ -522,8 +522,7 @@ translateEvent(PuglView* view, XEvent xevent)
case 7: event.scroll.dx = 1.0f; break;
}
}
- __attribute__((fallthrough));
- // nobreak
+ /* fall through */
case ButtonRelease:
if (xevent.xbutton.button < 4 || xevent.xbutton.button > 7) {
event.button.type = ((xevent.type == ButtonPress)