summaryrefslogtreecommitdiff
path: root/gtk2_ardour/keyboard.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2007-05-23 00:02:51 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2007-05-23 00:02:51 +0000
commit7dc87973eead6cf9acd87dfe9b27fdb028921874 (patch)
tree596791d444b145e49adb88ce51d92f6aae7a2d7f /gtk2_ardour/keyboard.h
parent74184c976fafdb7eca293172a8d3303581f62296 (diff)
fix audio clock handling of key press; fix crash bug caused by mapping over a region list selection that includes rows without regions
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@1912 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/keyboard.h')
-rw-r--r--gtk2_ardour/keyboard.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/keyboard.h b/gtk2_ardour/keyboard.h
index ec55dc54db..c1351bfaf6 100644
--- a/gtk2_ardour/keyboard.h
+++ b/gtk2_ardour/keyboard.h
@@ -90,6 +90,10 @@ class Keyboard : public sigc::trackable, Stateful
static Keyboard& the_keyboard() { return *_the_keyboard; }
+ static bool some_magic_widget_has_focus ();
+ static void magic_widget_grab_focus ();
+ static void magic_widget_drop_focus ();
+
private:
static Keyboard* _the_keyboard;
@@ -104,6 +108,8 @@ class Keyboard : public sigc::trackable, Stateful
static gint _snooper (GtkWidget*, GdkEventKey*, gpointer);
gint snooper (GtkWidget*, GdkEventKey*);
+
+ static bool _some_magic_widget_has_focus;
};
#endif /* __ardour_keyboard_h__ */