#include "ardour_ui.h"
#include "monitor_section.h"
+#include "public_editor.h"
#include "utils.h"
#include "volume_controller.h"
/* if torn off, make this a normal window */
_tearoff->tearoff_window().set_type_hint (Gdk::WINDOW_TYPE_HINT_NORMAL);
_tearoff->tearoff_window().set_title (X_("Monitor"));
+ _tearoff->tearoff_window().signal_key_press_event().connect (sigc::mem_fun (*this, &MonitorSection::tearoff_key_press_event), false);
}
MonitorSection::~MonitorSection ()
delete _tearoff;
}
+bool
+MonitorSection::tearoff_key_press_event (GdkEventKey* ev)
+{
+ cerr << "T key event\n";
+ return forward_key_press (ev);
+}
+
void
MonitorSection::populate_buttons ()
{