aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 22:07:39 +0200
committerGravatar Hanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 22:07:39 +0200
commit272bd7c884608426be1837f654e74e2dbd4495eb (patch)
tree0c7ff6efbd6a5f25ffc60bb4ed35aa8d743504ea
parent98fc844c2c0cfbdb0ced48346133c40ed2e132a1 (diff)
parentf0e9ca93e3a0cf69009af2ec5077f72264c661e4 (diff)
downloadsynthpod-272bd7c884608426be1837f654e74e2dbd4495eb.zip
synthpod-272bd7c884608426be1837f654e74e2dbd4495eb.tar.gz
synthpod-272bd7c884608426be1837f654e74e2dbd4495eb.tar.bz2
synthpod-272bd7c884608426be1837f654e74e2dbd4495eb.tar.xz
Merge commit 'f0e9ca93e3a0cf69009af2ec5077f72264c661e4'
-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)