diff options
Diffstat (limited to 'gtk2_ardour/utils.cc')
-rw-r--r-- | gtk2_ardour/utils.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/utils.cc b/gtk2_ardour/utils.cc index 8cdf5e0b58..179f341470 100644 --- a/gtk2_ardour/utils.cc +++ b/gtk2_ardour/utils.cc @@ -613,7 +613,7 @@ key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev) } #endif - + DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 allow_activation ? %6\n", win, ev->keyval, @@ -621,7 +621,7 @@ key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev) special_handling_of_unmodified_accelerators, Keyboard::some_magic_widget_has_focus(), allow_activating)); - + /* This exists to allow us to override the way GTK handles key events. The normal sequence is: @@ -656,7 +656,7 @@ key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev) #ifdef GTKOSX if (!special_handling_of_unmodified_accelerators) { if (ev->state & GDK_MOD1_MASK) { - /* we're not in a text entry or "magic focus" widget so we don't want OS X "special-character" + /* we're not in a text entry or "magic focus" widget so we don't want OS X "special-character" text-style handling of alt-<key>. change the keyval back to what it would be without the alt key. this way, we see <alt>-v rather than <alt>-radical and so on. */ @@ -920,4 +920,4 @@ escape_underscores (string const & s) return o; } - + |