summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-04-09 21:05:58 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-04-09 21:05:58 +0000
commitedab5bb5239573559aaccb7ce9afffac5435f496 (patch)
tree9d1336244e6b33cd4cbb792aab3581f2263d4396 /gtk2_ardour/ardour_ui.cc
parent5a484d8f361c2ca2bb9e6efd460f4879176855eb (diff)
fixes for AU plugin GUIs, including the "hidden GUI shows up when app becomes active/focus again" bug
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3241 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 62916e2f09..829a7df6ad 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -3359,6 +3359,11 @@ ARDOUR_UI::TransportControllable::set_id (const string& str)
void
ARDOUR_UI::setup_profile ()
{
+ cerr << "GDK screen dimensions: "
+ << gdk_screen_width() << " x "
+ << gdk_screen_height()
+ << endl;
+
if (gdk_screen_width() < 1200) {
Profile->set_small_screen ();
}