From b33a1425fa16db3e8857218d2b41283b225968fc Mon Sep 17 00:00:00 2001 From: Alexandros Theodotou <alex@zrythm.org> Date: Mon, 10 Jun 2019 15:14:19 +0100 Subject: [PATCH] check both x and y for foldable tabs --- meson.build | 2 +- src/gui/widgets/foldable_notebook.c | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/meson.build b/meson.build index 3f714d8de1..4e863e1327 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project ( 'zrythm', ['c', 'cpp'], - version: '0.5.031', + version: '0.5.056', license: 'GPLv3+', #meson_version: '>= 0.24.0', default_options: [ diff --git a/src/gui/widgets/foldable_notebook.c b/src/gui/widgets/foldable_notebook.c index 8251e57038..94cf4c7be3 100644 --- a/src/gui/widgets/foldable_notebook.c +++ b/src/gui/widgets/foldable_notebook.c @@ -77,11 +77,7 @@ on_multipress_pressed ( ui_is_child_hit ( GTK_CONTAINER (self), current_tab, - pos_type == GTK_POS_TOP || - pos_type == GTK_POS_BOTTOM, - pos_type == GTK_POS_LEFT || - pos_type == GTK_POS_RIGHT, - x, y, 3, 3); + 1, 1, x, y, 3, 3); if (hit) { GtkWidget * widget = -- GitLab