along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#include "ardour_ui.h"
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 ()
{
}
Meta = possible_meta[i];
- if (Meta) {
- cerr << "Using " << possible_meta[i] << " for Meta\n";
- } else {
- cerr << "NO Meta\n";
- }
-
snooper_id = gtk_key_snooper_install (_snooper, (gpointer) this);
XMLNode* node = ARDOUR_UI::instance()->keyboard_settings();