summaryrefslogtreecommitdiff
path: root/gtk2_ardour/streamview.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-04 18:11:28 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-04 18:11:28 +0000
commit64e9b0ccc69a6abf06913473a1002a0057876fdb (patch)
tree374522bfd0774a281f648459241cd22281d6728f /gtk2_ardour/streamview.cc
parent2776558801e72bc730b80a9fd043d6bd220c16ad (diff)
change the way we use "physical screen height" to better account for multi-monitor setups
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7539 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/streamview.cc')
-rw-r--r--gtk2_ardour/streamview.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/streamview.cc b/gtk2_ardour/streamview.cc
index ce532ba97a..d75bc24ad4 100644
--- a/gtk2_ardour/streamview.cc
+++ b/gtk2_ardour/streamview.cc
@@ -61,7 +61,7 @@ StreamView::StreamView (RouteTimeAxisView& tv)
canvas_rect = new ArdourCanvas::SimpleRect (*_background_group);
canvas_rect->property_x1() = 0.0;
canvas_rect->property_y1() = 0.0;
- canvas_rect->property_x2() = _trackview.editor.get_physical_screen_width();
+ canvas_rect->property_x2() = physical_screen_width (_trackview.editor.get_window());
canvas_rect->property_y2() = (double) tv.current_height();
canvas_rect->property_outline_what() = (guint32) (0x1|0x2|0x8); // outline ends and bottom