summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPranav Kant <pranavk@collabora.co.uk>2017-11-09 14:43:46 +0530
committerPranav Kant <pranavk@collabora.co.uk>2017-11-09 14:53:44 +0530
commit1363a12203591a56e8ba592fc34cc40da30e22ef (patch)
treee35815ed0100d34ae45d89fe4261a81c244fe0a0 /vcl
parentcd0b749cc4b4f268d26639fb3c6cbf2128b2d7df (diff)
lokdialog: Invalidate-all when size is changed
Change-Id: Ic96fab62c1525154a60c0fa84e2a12ccfad15ae2
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/window/dialog.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx
index 0adb46c59d07..720153d5c7d2 100644
--- a/vcl/source/window/dialog.cxx
+++ b/vcl/source/window/dialog.cxx
@@ -1324,6 +1324,17 @@ void Dialog::queue_resize(StateChangedType eReason)
SystemWindow::queue_resize(eReason);
}
+void Dialog::Resize()
+{
+ SystemWindow::Resize();
+
+ // inform LOK clients
+ if (!comphelper::LibreOfficeKit::isDialogPainting() && mpDialogRenderable && !maID.isEmpty())
+ {
+ mpDialogRenderable->notifyDialog(maID, "invalidate", nullptr);
+ }
+}
+
bool Dialog::set_property(const OString &rKey, const OUString &rValue)
{
if (rKey == "border-width")