From 1c2de76991fea2859cbca00e472a66704d2ef292 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sun, 27 Oct 2013 20:55:06 -0400 Subject: [PATCH] give those who insist on seeing the mixer window and/or editor mixer on stupidly small screens the chance to do so --- gtk2_ardour/ardour_ui_dialogs.cc | 2 +- gtk2_ardour/editor_mixer.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gtk2_ardour/ardour_ui_dialogs.cc b/gtk2_ardour/ardour_ui_dialogs.cc index db9e420206..2ad4cd3c92 100644 --- a/gtk2_ardour/ardour_ui_dialogs.cc +++ b/gtk2_ardour/ardour_ui_dialogs.cc @@ -335,7 +335,7 @@ ARDOUR_UI::goto_mixer_window () screen = Gdk::Screen::get_default(); } - if (screen && screen->get_height() < 700) { + if (g_getenv ("ARDOUR_LOVES_STUPID_TINY_SCREENS") == 0 && screen && screen->get_height() < 700) { Gtk::MessageDialog msg (_("This screen is not tall enough to display the mixer window")); msg.run (); return; diff --git a/gtk2_ardour/editor_mixer.cc b/gtk2_ardour/editor_mixer.cc index f63e396ba7..37654913eb 100644 --- a/gtk2_ardour/editor_mixer.cc +++ b/gtk2_ardour/editor_mixer.cc @@ -86,7 +86,7 @@ Editor::show_editor_mixer (bool yn) screen = Gdk::Screen::get_default(); } - if (screen && screen->get_height() < 700) { + if (g_getenv ("ARDOUR_LOVES_STUPID_TINY_SCREENS") == 0 && screen && screen->get_height() < 700) { Gtk::MessageDialog msg (_("This screen is not tall enough to display the editor mixer")); msg.run (); return;