sc/source/ui/app/inputwin.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9a6ea2f9cf03c540c20738374200bae5435ca2ad
Author: Szymon Kłos <[email protected]>
AuthorDate: Thu Aug 13 10:49:19 2020 +0200
Commit: Szymon Kłos <[email protected]>
CommitDate: Wed Sep 2 09:09:50 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 <[email protected]>
Reviewed-by: Szymon Kłos <[email protected]>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101522
Tested-by: Jenkins
diff --git a/sc/source/ui/app/inputwin.cxx b/sc/source/ui/app/inputwin.cxx
index 04c8f8769c53..6f2245de753f 100644
--- a/sc/source/ui/app/inputwin.cxx
+++ b/sc/source/ui/app/inputwin.cxx
@@ -514,6 +514,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);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits