jsdialog: use the "WindowShow/WindowHide" to notify
commit88dc324436af556515317662822eaf5c2c34fd26
authorHenry Castro <hcastro@collabora.com>
Fri, 25 Dec 2020 17:29:42 +0000 (25 13:29 -0400)
committerHenry Castro <hcastro@collabora.com>
Tue, 5 Jan 2021 15:04:04 +0000 (5 16:04 +0100)
treecdb095241c93f47efa188ce298d2150662490531
parentd67bb09840ccd4ceb6f532d3e466635ef5c6d199
jsdialog: use the "WindowShow/WindowHide" to notify

If the "Macro Security Warning" message dialog is
disabled the idle notifier, then it is used, the
"WindowShow/Window Hide" events to notify client side.

Change-Id: I48281cf5b76285a86f951eb057454610e266b85f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108290
Tested-by: Jenkins
Reviewed-by: Henry Castro <hcastro@collabora.com>
vcl/inc/jsdialog/jsdialogbuilder.hxx
vcl/jsdialog/jsdialogbuilder.cxx
vcl/source/window/builder.cxx