[Libreoffice-commits] core.git: sc/source

Szymon KÅ‚os (via logerrit) logerrit at kemper.freedesktop.org
Wed Sep 2 07:10:32 UTC 2020


 sc/source/ui/app/inputwin.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 9a6ea2f9cf03c540c20738374200bae5435ca2ad
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: 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 <jenkinscollaboraoffice at gmail.com>
    Reviewed-by: Szymon Kłos <szymon.klos at collabora.com>
    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);


More information about the Libreoffice-commits mailing list