summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-10-04 21:14:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2017-10-05 09:51:21 +0200
commitf561531b69ae4870eaa9648f7c104cabcd0a7fa0 (patch)
tree336fd76a96dd13a18918498b50d80046e0f9e69b /include
parenta25868231adba6a3be30f9aedb71315de0c79acd (diff)
Related: tdf#112063 validation dialog legitimally changes modality
so to keep tdf#112063 working as with... commit e66c9aa362c1e8729d76090023960610321b14f3 Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Sep 1 16:23:20 2017 +0100 Related: tdf#112063 unsetting and resetting gtk modality is a problem for gtk3, so just set it on execute and no need to unset and reset it for whatever vcl nuttiness the existing code is doing then let the proper calls to SetModalInputMode call the frame modality switch and the hackery vcl calls the underlying vcl-specific body as ImplSetModalInputMode Change-Id: I853ca50e0d9830ca7ba3077e243ccdee6e84e696 Reviewed-on: https://gerrit.libreoffice.org/43142 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/dialog.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/vcl/dialog.hxx b/include/vcl/dialog.hxx
index 6cea3b193ec2..1ff5136fb41a 100644
--- a/include/vcl/dialog.hxx
+++ b/include/vcl/dialog.hxx
@@ -157,6 +157,7 @@ public:
private:
bool ImplStartExecuteModal();
static void ImplEndExecuteModal();
+ void ImplSetModalInputMode(bool bModal);
public:
// Dialog::Execute replacement API