[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - sc/source
Szymon KÅos (via logerrit)
logerrit at kemper.freedesktop.org
Thu Aug 13 09:17:13 UTC 2020
sc/source/ui/app/inputwin.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit d543cdaaab9e9c46d60ebc2db9cd7f685f8e5ca7
Author: Szymon Kłos <szymon.klos at collabora.com>
AuthorDate: Thu Aug 13 10:49:19 2020 +0200
Commit: Szymon Kłos <szymon.klos at collabora.com>
CommitDate: Thu Aug 13 11:16:34 2020 +0200
lok: send calc-input-win position updates
This will allow to handle click position correctly
when notebookbar is used and input window position
is changed after construction
Change-Id: If7c725a1c096237f7eda85544083021511d05338
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100648
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 4d0a0f8d68a0..593ae2d4d900 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -513,6 +513,7 @@ void ScInputWindow::Resize()
if (const vcl::ILibreOfficeKitNotifier* pNotifier = GetLOKNotifier())
{
std::vector<vcl::LOKPayloadItem> aItems;
+ aItems.emplace_back(std::make_pair("position", Point(GetOutOffXPixel(), GetOutOffYPixel()).toString()));
aItems.emplace_back("size", GetSizePixel().toString());
aItems.emplace_back("lines", OString::number(aTextWindow.GetNumLines()));
pNotifier->notifyWindow(GetLOKWindowId(), "size_changed", aItems);
More information about the Libreoffice-commits
mailing list