diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-09-13 17:29:27 +0100 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-09-14 11:26:01 +0200 |
commit | 242dc1877c6ba75a3a6d995495c17af23487960f (patch) | |
tree | 1014f1296c72be99952c685dc267b8f3d02a9435 /vcl/unx | |
parent | 19ac6869e129bf03737087eb32198026f9663894 (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/+/122063
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'vcl/unx')
-rw-r--r-- | vcl/unx/gtk3/gtkinst.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 9fccb99779b6..7034386c35f3 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -11758,6 +11758,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() |