diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-10-17 14:26:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-10-17 21:48:33 +0200 |
commit | ebb2b8cedefcb32eadec191ef70225430ad154c0 (patch) | |
tree | b4c89f34c1dbf262a1fbdf3b0a0dea838f1050cd /vcl | |
parent | dc8c9d8052293055f31b56fcd5db56ce13306a65 (diff) |
tdf#112845 rtl dropdowns in wrong position
for rtl we mirror the position of popdowns, so we need
to know their initial desired position before they have actually
appeared yet and have a valid maGeometry.nX, so fill in the
hoped-for position as the current position
Change-Id: Ic22dc3e5d9922f5d48bbbdaad53caabff57188d8
Reviewed-on: https://gerrit.libreoffice.org/43459
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkframe.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx index 7efff4679d54..d24bef907c00 100644 --- a/vcl/unx/gtk3/gtk3gtkframe.cxx +++ b/vcl/unx/gtk3/gtk3gtkframe.cxx @@ -1621,6 +1621,9 @@ void GtkSalFrame::SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_u nY += m_pParent->maGeometry.nY; } + maGeometry.nX = nX; + maGeometry.nY = nY; + m_bDefaultPos = false; moveWindow(nX, nY); |