[Libreoffice-commits] core.git: vcl/source
Pranav Kant
pranavk at collabora.co.uk
Fri Mar 16 07:27:52 UTC 2018
vcl/source/window/window2.cxx | 6 ++++++
1 file changed, 6 insertions(+)
New commits:
commit b2428496de5cd579f4cdb0f149e2cebb8b12dd4d
Author: Pranav Kant <pranavk at collabora.co.uk>
Date: Wed Mar 14 14:55:05 2018 +0530
lokdialog: Invalidate upon window size change
This problem can be seen with some of the dialogs like chart dialogs
where not all of the area which should be invalidated is invalidated.
The reason being that their container gets resized but not
lok-invalidated.
Change-Id: I12eb68e8644ca67b2666badb7b772b92a145c624
Reviewed-on: https://gerrit.libreoffice.org/51264
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: pranavk <pranavk at collabora.co.uk>
diff --git a/vcl/source/window/window2.cxx b/vcl/source/window/window2.cxx
index af41df0d4a15..937eda35e013 100644
--- a/vcl/source/window/window2.cxx
+++ b/vcl/source/window/window2.cxx
@@ -1392,6 +1392,12 @@ void Window::queue_resize(StateChangedType eReason)
if (pBorderWindow)
pBorderWindow->Resize();
}
+
+ if (VclPtr<vcl::Window> pParent = GetParentWithLOKNotifier())
+ {
+ if (GetParentDialog())
+ LogicInvalidate(nullptr);
+ }
}
namespace
More information about the Libreoffice-commits
mailing list