summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorHenry Castro <hcastro@collabora.com>2020-12-17 10:45:13 -0400
committerHenry Castro <hcastro@collabora.com>2020-12-22 13:03:59 +0100
commit71ec214d7583f637fefcb5eca13c637cc6b38029 (patch)
treedd3a089e9eba938e5122511e0ff435ed900167e1 /include/vcl
parente0e2e01c042346d15a543b6449336aae46e92507 (diff)
jsdialog: disable idle notify
After testing on client side, when showing the Macro Selector Dialog its receive 5 times the same data. So add an option to not use the idle notifier instead it will use the event 'WindowShow'. Change-Id: Ib5657f3c823fc6e998581b99052aaf578d0913e8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107893 Tested-by: Jenkins Reviewed-by: Henry Castro <hcastro@collabora.com>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/window.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx
index d4e96f93a45e..99a1043bb3d3 100644
--- a/include/vcl/window.hxx
+++ b/include/vcl/window.hxx
@@ -1176,6 +1176,9 @@ public:
/// Find an existing Window based on the LOKWindowId.
static VclPtr<vcl::Window> FindLOKWindow(vcl::LOKWindowId nWindowId);
+ bool IsDisableIdleNotify();
+ void SetDisableIdleNotify(bool bValue);
+
/// check if LOK Window container is empty
static bool IsLOKWindowsEmpty();