From 376c5381edca72ce25a04d449e7df39ecbc0d4d0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 23 May 2007 00:06:16 +0000 Subject: (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 --- gtk2_ardour/keyboard.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gtk2_ardour/keyboard.h') 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__ */ -- cgit v1.2.3