vcl/source/window/dialog.cxx | 3 +++ 1 file changed, 3 insertions(+) New commits: commit e96352fca453d6a2f52f57c94cdd443ad3e4c0a0 Author: Gökay Şatır <gokaysa...@collabora.com> AuthorDate: Wed Nov 9 15:37:43 2022 +0300 Commit: Gökay ŞATIR <gokaysa...@collabora.com> CommitDate: Thu Nov 10 14:39:58 2022 +0100
Send unique window id along with other data to COOL. Signed-off-by: Gökay Şatır <gokaysa...@collabora.com> Change-Id: I9021c8218890906c0239f32503057262d7326fd4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142485 Tested-by: Jenkins Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142550 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/vcl/source/window/dialog.cxx b/vcl/source/window/dialog.cxx index 8b9e11cc35d0..0579b61a76ad 100644 --- a/vcl/source/window/dialog.cxx +++ b/vcl/source/window/dialog.cxx @@ -765,6 +765,7 @@ void Dialog::StateChanged( StateChangedType nType ) std::vector<vcl::LOKPayloadItem> aItems; aItems.emplace_back("type", "dialog"); aItems.emplace_back("size", GetSizePixel().toString()); + aItems.emplace_back("unique_id", this->get_id().toUtf8()); if (!GetText().isEmpty()) aItems.emplace_back("title", GetText().toUtf8()); @@ -1025,6 +1026,7 @@ bool Dialog::ImplStartExecute() // otherwise, this should make sure that the window has the correct size. std::vector<vcl::LOKPayloadItem> aItems; aItems.emplace_back("size", GetSizePixel().toString()); + aItems.emplace_back("unique_id", this->get_id().toUtf8()); pNotifier->notifyWindow(GetLOKWindowId(), "size_changed", aItems); } } @@ -1392,6 +1394,7 @@ void Dialog::Resize() { std::vector<vcl::LOKPayloadItem> aItems; aItems.emplace_back("size", GetSizePixel().toString()); + aItems.emplace_back("unique_id", this->get_id().toUtf8()); pNotifier->notifyWindow(GetLOKWindowId(), "size_changed", aItems); } }