summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-09-13 17:29:27 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-09-13 22:19:36 +0200
commit1e531c31600a76e1d55e2f2e5abd351ff80bc4fd (patch)
tree88dd05ca3e40503ead4d14e395d5db42ece1a0b0 /vcl
parenta7084f156a75ab363d2562b485b240bd350563fc (diff)
tdf#142415 mouse events not propogated to table control event handlers
handle this with explicit callbacks from the cell widget for those events Change-Id: Ie605ca4286afc0fbd321f339fb7963771a303df5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122050 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/unx/gtk3/gtkinst.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx
index 79d3835f69db..79e22ea4fb3d 100644
--- a/vcl/unx/gtk3/gtkinst.cxx
+++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -12127,6 +12127,13 @@ private:
pThis->signal_activate();
}
+ virtual void ensureMouseEventWidget() override
+ {
+ // The GtkEntry is sufficient to get mouse events without an intermediate GtkEventBox
+ if (!m_pMouseEventBox)
+ m_pMouseEventBox = m_pDelegate;
+ }
+
protected:
virtual void signal_activate()