From 8d151e0e55e1945bc5f633dc916372a3ea27a16d Mon Sep 17 00:00:00 2001 From: Michael Meeks Date: Sat, 14 Jan 2012 23:25:55 +0000 Subject: vcl: introduce crystal clear separation between X11 Screens and DisplayScreens A DisplayScreen is a screen index as used by the upper level abstractions, an X11Screen is a wrapper around an integer X screen index. --- vcl/aqua/source/window/salframe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/aqua') diff --git a/vcl/aqua/source/window/salframe.cxx b/vcl/aqua/source/window/salframe.cxx index ca1108c0b718..d90b46874f5f 100644 --- a/vcl/aqua/source/window/salframe.cxx +++ b/vcl/aqua/source/window/salframe.cxx @@ -1665,7 +1665,7 @@ void AquaSalFrame::UpdateFrameGeometry() maScreenRect = [pScreen frame]; NSArray* pScreens = [NSScreen screens]; if( pScreens ) - maGeometry.nScreenNumber = [pScreens indexOfObject: pScreen]; + maGeometry.nDisplayScreenNumber = [pScreens indexOfObject: pScreen]; } NSRect aFrameRect = [mpWindow frame]; -- cgit