vcl/unx/gtk3/gtkinst.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit da5b1e251ee58eca7a971a3c9312bb9d8bdf7bc4 Author: Caolán McNamara <[email protected]> AuthorDate: Wed Nov 24 15:49:19 2021 +0000 Commit: Caolán McNamara <[email protected]> CommitDate: Wed Nov 24 20:17:44 2021 +0100 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 <[email protected]> Reviewed-by: Caolán McNamara <[email protected]> diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index 9b3713f02902..4c4d44539728 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)
