comment code that stopped the keybd accel activation pathway if Keyboard::some_magic_widget_has_focus() is true. this was OS X only and (a) appears to be unnecessary (b) stops accels from working in windows that still handle some key events
git-svn-id: svn://localhost/ardour2/branches/3.0@13094 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
2409f9ee5b
commit
a701365f38
@ -344,11 +344,16 @@ key_press_focus_accelerator_handler (Gtk::Window& window, GdkEventKey* ev)
|
||||
}
|
||||
|
||||
#ifdef GTKOSX
|
||||
/* should this be universally true? */
|
||||
/* at one time this appeared to be necessary. As of July 2012, it does not
|
||||
appear to be. if it ever is necessar, figure out if it should apply
|
||||
to all platforms.
|
||||
*/
|
||||
#if 0
|
||||
if (Keyboard::some_magic_widget_has_focus ()) {
|
||||
allow_activating = false;
|
||||
allow_activating = false;
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
DEBUG_TRACE (DEBUG::Accelerators, string_compose ("Win = %1 focus = %7 Key event: code = %2 state = %3 special handling ? %4 magic widget focus ? %5 allow_activation ? %6\n",
|
||||
|
Loading…
Reference in New Issue
Block a user