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
commite9cc8ed0cb43268c03d266c1db619acb2e707306 (patch)
treee6fb38ebb99733dffc1ab4ef2af3b3e63c554ab5
parentd9ccd2cf71ae3ccfb19fb98010236dfc133b5c28 (diff)
downloadmidi_matrix.lv2-e9cc8ed0cb43268c03d266c1db619acb2e707306.tar.xz
Squashed 'pugl/' changes from 2986f31..83a5403
83a5403 omk: use /* fall through */ marker git-subtree-dir: pugl git-subtree-split: 83a54034cc712b697ca37845f9d2d3e5a9f22974
-rw-r--r--pugl/pugl_x11.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index 5c20782..5afc880 100644
--- a/pugl/pugl_x11.c
+++ b/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)