(merge from 2.0-ongoing -r1911:1912) fix audio clock handling of key press; fix crash bug caused by mapping over a region list selection that includes rows without regions; also merge sampo's redirect undo/state fixes from 2.0-ongoing

git-svn-id: svn://localhost/ardour2/trunk@1913 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2007-05-23 00:06:16 +00:00
parent dc348fb613
commit 376c5381ed
8 changed files with 241 additions and 62 deletions

View file

@ -54,6 +54,25 @@ Keyboard* Keyboard::_the_keyboard = 0;
GdkModifierType Keyboard::RelevantModifierKeyMask;
bool Keyboard::_some_magic_widget_has_focus = false;
void
Keyboard::magic_widget_grab_focus ()
{
_some_magic_widget_has_focus = true;
}
void
Keyboard::magic_widget_drop_focus ()
{
_some_magic_widget_has_focus = false;
}
bool
Keyboard::some_magic_widget_has_focus ()
{
return _some_magic_widget_has_focus;
}
Keyboard::Keyboard ()
{