aboutsummaryrefslogtreecommitdiff
path: root/pugl/pugl
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
commit53b281474ddb7fc4d98633f9a5f0dc158bbf7bd6 (patch)
treed6c32dd301712c2db6812eb4e0f375447ce9ab4b /pugl/pugl
parentdb3c17a18f54787f94d7e1c71b84945c6038bf79 (diff)
parentbbee067ba511dc07472b8082922f10bb17b7af02 (diff)
downloadcanvas_display.lv2-53b281474ddb7fc4d98633f9a5f0dc158bbf7bd6.zip
canvas_display.lv2-53b281474ddb7fc4d98633f9a5f0dc158bbf7bd6.tar.gz
canvas_display.lv2-53b281474ddb7fc4d98633f9a5f0dc158bbf7bd6.tar.bz2
canvas_display.lv2-53b281474ddb7fc4d98633f9a5f0dc158bbf7bd6.tar.xz
Merge commit 'bbee067ba511dc07472b8082922f10bb17b7af02'
Diffstat (limited to 'pugl/pugl')
-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)