editor->show_window ();
editor->present ();
+ _mixer_on_top = false;
flush_pending ();
}
{
mixer->show_window ();
mixer->present ();
+ _mixer_on_top = true;
flush_pending ();
}
+void
+ARDOUR_UI::toggle_editor_mixer_on_top ()
+{
+ if (_mixer_on_top) {
+ goto_editor_window ();
+ } else {
+ goto_mixer_window ();
+ }
+}
+
gint
ARDOUR_UI::exit_on_main_window_close (GdkEventAny *ev)
{
+#ifdef TOP_MENUBAR
+ /* just hide the window, and return - the top menu stays up */
+ editor->hide ();
+ return TRUE;
+#else
+ /* time to get out of here */
finish();
return TRUE;
+#endif
}