second part of: fix up scrolling of pixfaders by making them grab keyboard magic...
[ardour.git] / gtk2_ardour / time_axis_view.cc
index 577fbcdda6109ade84e4c515a70079949cd217ba..6429148f4c088ad4ca0ff7e2177dbbd10511684e 100644 (file)
@@ -291,6 +291,10 @@ TimeAxisView::clip_to_viewport ()
 bool
 TimeAxisView::controls_ebox_scroll (GdkEventScroll* ev)
 {
+       if (Keyboard::some_magic_widget_has_focus()) {
+               return false;
+       }
+
        switch (ev->direction) {
        case GDK_SCROLL_UP:
                if (Keyboard::modifier_state_equals (ev->state, Keyboard::TertiaryModifier)) {