[Libreoffice-commits] core.git: vcl/unx

Caolán McNamara caolanm at redhat.com
Tue Oct 17 19:48:55 UTC 2017


 vcl/unx/gtk3/gtk3gtkframe.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit ebb2b8cedefcb32eadec191ef70225430ad154c0
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Oct 17 14:26:38 2017 +0100

    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 at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

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);


More information about the Libreoffice-commits mailing list