diff options
Diffstat (limited to 'gtk2_ardour/ardour_ui2.cc')
-rw-r--r-- | gtk2_ardour/ardour_ui2.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index 0fc4c9ea59..3466a98986 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -87,9 +87,9 @@ ARDOUR_UI::tabs_button_event (GdkEventButton* ev) * translate before computing if event is inside the * close button. */ - + close_button->get_toplevel()->translate_coordinates (_tabs, alloc.get_x(), alloc.get_y(), dx, dy); - + if (ev->x >= dx && ev->y >= dy && ev->x < dx + alloc.get_width() && @@ -100,7 +100,7 @@ ARDOUR_UI::tabs_button_event (GdkEventButton* ev) } } } - + return false; } |