diff options
author | Rüdiger Timm <rt@openoffice.org> | 2007-04-26 09:38:18 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2007-04-26 09:38:18 +0000 |
commit | d601e989249c883c6077eb7d7c4f150eac456ff1 (patch) | |
tree | 5aa2272e875af11d7e5a5c227c6d2f7d81364640 /vcl/source/window/floatwin.cxx | |
parent | 9d9ffdc9f98024bdc52951e2c9450f768c2f3bec (diff) |
INTEGRATION: CWS vcl75 (1.36.138); FILE MERGED
2007/03/16 11:25:18 pl 1.36.138.1: #i75332# look for non-rectangular multiscreen scnearios when opening popups
Diffstat (limited to 'vcl/source/window/floatwin.cxx')
-rw-r--r-- | vcl/source/window/floatwin.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx index 233c31d941d3..c57e39a7a10a 100644 --- a/vcl/source/window/floatwin.cxx +++ b/vcl/source/window/floatwin.cxx @@ -4,9 +4,9 @@ * * $RCSfile: floatwin.cxx,v $ * - * $Revision: 1.36 $ + * $Revision: 1.37 $ * - * last change: $Author: obo $ $Date: 2006-10-13 08:32:32 $ + * last change: $Author: rt $ $Date: 2007-04-26 10:38:18 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -295,6 +295,9 @@ Point FloatingWindow::ImplCalcPos( Window* pWindow, if( bRTL ) // create a rect that can be compared to desktop coordinates devRectRTL = pW->ImplOutputToUnmirroredAbsoluteScreenPixel( normRect ); + if( Application::GetScreenCount() > 1 && ! Application::IsMultiDisplay() ) + aScreenRect = Application::GetScreenPosSizePixel( + Application::GetBestScreen( bRTL ? devRectRTL : devRect ) ); USHORT nArrangeAry[5]; |