xfade rects should only pop-up in Object mode, when they are focusable
authorBen Loftis <ben@harrisonconsoles.com>
Mon, 7 Jul 2014 20:34:20 +0000 (15:34 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Mon, 7 Jul 2014 20:34:20 +0000 (15:34 -0500)
gtk2_ardour/audio_region_view.cc
tools/fmt-bindings

index 72bf08e79939a41d7fc8cf62788056918276194d..93509e8948feea188262e0165622223721ce67ea 100644 (file)
@@ -1311,7 +1311,7 @@ AudioRegionView::entered (bool internal_editing)
                gain_line->add_visibility (AutomationLine::ControlPoints);
        }
 
-       if (!internal_editing) {
+       if (!internal_editing &&  ( trackview.editor().current_mouse_mode() == Editing::MouseObject ) ) {
                if (start_xfade_rect) {
                        start_xfade_rect->set_outline (true);
                }
index ab4595d9658af4f98fa31e8c9cd2e50ceb77c0ab..913ff25e01b7723f5b84f971cd96ab0f77dbfbc9 100755 (executable)
@@ -18,7 +18,7 @@ $group_number = 0;
 %merge_bindings;
 
 $platform = linux;
-$winkey = 'Mod4\>\<Super';
+$winkey = 'Win';
 $make_cheatsheet = 1;
 $make_accelmap = 0;
 $merge_from = "";
@@ -56,7 +56,7 @@ if ($platform eq "darwin") {
     $gtk_modifier_map{'PRIMARY'} = 'Control';
     $gtk_modifier_map{'SECONDARY'} = 'Alt';
     $gtk_modifier_map{'TERTIARY'} = 'Shift';
-    $gtk_modifier_map{'LEVEL4'} = $winkey;
+    $gtk_modifier_map{'LEVEL4'} = 'window';
     $gtk_modifier_map{'WINDOW'} = 'Alt';
     $gtk_modifier_map{$winkey} => 'Win';