summaryrefslogtreecommitdiff
path: root/vcl/source
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2018-06-11 02:08:54 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2018-06-26 12:00:11 +0200
commite223e70f5d92e2ed027fc5d449bd790a123acdc2 (patch)
tree403c03932e5d17d9757498faab46207be604f74e /vcl/source
parent1ba347a92e3a821d35fccc8ff58b574dd2f3abd6 (diff)
tdf#117175 wayland: Make popup windows not show off-screen
Depends on the gtk-3-24 dev branch, for the public gdk_window_move_to_rect symbol. (cherry picked from commit 0da89ede1fee3a9079b7b41ee8b34504ddeb5ee5) Correctly mirror autofilter in rtl ui, tdf#117175 related (cherry picked from commit 2bfc4cefc21ab18e9ff7cc5fdc743bcc856d103c) Fix lists position in dialogs Regression of 2bfc4cefc21ab18e9ff7cc5fdc743bcc856d103c ("Correctly mirror autofilter in rtl ui, tdf#117175 related") If a window has a parent, it doesn't necessarily mean it's not a top level. (cherry picked from commit eb84dcb9c0a202f4917169acdce50775778b72ec) Change-Id: Ic7a34ceb3d133ecac2addac54cf5f635eea332ed Reviewed-on: https://gerrit.libreoffice.org/56439 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
Diffstat (limited to 'vcl/source')
-rw-r--r--vcl/source/window/floatwin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/window/floatwin.cxx b/vcl/source/window/floatwin.cxx
index 0ba23a39d6d8..ea1001f3351e 100644
--- a/vcl/source/window/floatwin.cxx
+++ b/vcl/source/window/floatwin.cxx
@@ -741,6 +741,7 @@ void FloatingWindow::StartPopupMode( const tools::Rectangle& rRect, FloatWinPopu
DoInitialLayout();
mpImplData->maPos = ImplCalcPos(this, rRect, nFlags, nArrangeIndex, &mpImplData->maLOKTwipsPos);
SetPosPixel( mpImplData->maPos );
+ ImplGetFrame()->PositionByToolkit(rRect, nFlags);
// set data and display window
// convert maFloatRect to absolute device coordinates