| commit | da5b1e251ee58eca7a971a3c9312bb9d8bdf7bc4 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Wed Nov 24 15:49:19 2021 +0000 |
| committer | Caolán McNamara <caolanm@redhat.com> | Wed Nov 24 20:17:44 2021 +0100 |
| tree | 23fd5901f0c7be32264b4ff0c5cfe252698ae040 | |
| parent | 84f8613cdd9d494c7f376420520e186b4d4ea8a1 [diff] |
Resolves: tdf#145864 we should only return true if we consume the motion event and false if we want it to continue to be passed on to other handlers Change-Id: Ie237f890e3d065949dcfedb08b9f6c804643b4b6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125780 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 9b3713f..4c4d445 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx
@@ -3057,8 +3057,7 @@ private: sal_uInt32 nModCode = GtkSalFrame::GetMouseModCode(nState); MouseEvent aMEvt(aPos, 0, ImplGetMouseMoveMode(nModCode), nModCode, nModCode); m_aMouseMotionHdl.Call(aMEvt); return true; return m_aMouseMotionHdl.Call(aMEvt); } #if GTK_CHECK_VERSION(4, 0, 0)