aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-12 19:15:17 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-12 19:15:17 +0200
commitbbee067ba511dc07472b8082922f10bb17b7af02 (patch)
treee6fb38ebb99733dffc1ab4ef2af3b3e63c554ab5
parent911b276aa317dcde11ea8d6fb92a331615ec1fe6 (diff)
downloadcanvas_display.lv2-bbee067ba511dc07472b8082922f10bb17b7af02.zip
canvas_display.lv2-bbee067ba511dc07472b8082922f10bb17b7af02.tar.gz
canvas_display.lv2-bbee067ba511dc07472b8082922f10bb17b7af02.tar.bz2
canvas_display.lv2-bbee067ba511dc07472b8082922f10bb17b7af02.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)