aboutsummaryrefslogtreecommitdiff
path: root/pugl
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
commitf0e9ca93e3a0cf69009af2ec5077f72264c661e4 (patch)
treee6fb38ebb99733dffc1ab4ef2af3b3e63c554ab5 /pugl
parent6887cac9e577dc20cf31b5e51a77d19755874411 (diff)
downloadsynthpod-f0e9ca93e3a0cf69009af2ec5077f72264c661e4.zip
synthpod-f0e9ca93e3a0cf69009af2ec5077f72264c661e4.tar.gz
synthpod-f0e9ca93e3a0cf69009af2ec5077f72264c661e4.tar.bz2
synthpod-f0e9ca93e3a0cf69009af2ec5077f72264c661e4.tar.xz
Squashed 'pugl/' changes from 2986f313..83a54034
83a54034 omk: use /* fall through */ marker git-subtree-dir: pugl git-subtree-split: 83a54034cc712b697ca37845f9d2d3e5a9f22974
Diffstat (limited to 'pugl')
-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)