aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 22:09:16 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2019-04-03 22:09:16 +0200
commit16b3f7e1506848e494afedf93d22212ebdf8bb44 (patch)
treecc3ddcec45708deef7c74b373b74b5fe9d0e526b
parent8ffb2a92b5dc6921c329ce3f56b3f33579af235c (diff)
parent7aefa9e8599119f96bda2b2e4ffa5ce854ef1291 (diff)
downloadsherlock.lv2-16b3f7e1506848e494afedf93d22212ebdf8bb44.tar.xz
Merge commit '7aefa9e8599119f96bda2b2e4ffa5ce854ef1291'
-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)