[Libreoffice-commits] core.git: vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 9 18:41:19 UTC 2021
vcl/source/app/weldutils.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit eeeef98796df322d89912070c8e431c5f6d1283f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Aug 9 12:47:58 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Mon Aug 9 20:40:44 2021 +0200
return true to indicate event was consumed
noticable as a problem in gtk4 with repeat button in calc tabbar
not seeing the release
Change-Id: I22fe296d8935e8fe5be0df043a80ec116f4d5cf7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120206
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/vcl/source/app/weldutils.cxx b/vcl/source/app/weldutils.cxx
index 6927297ad9da..a4dbf93688d3 100644
--- a/vcl/source/app/weldutils.cxx
+++ b/vcl/source/app/weldutils.cxx
@@ -584,14 +584,14 @@ IMPL_LINK(ButtonPressRepeater, MousePressHdl, const MouseEvent&, rMouseEvent, bo
return false;
m_aRepeat.SetTimeout(MouseSettings::GetButtonStartRepeat());
m_aRepeat.Start();
- return false;
+ return true;
}
IMPL_LINK_NOARG(ButtonPressRepeater, MouseReleaseHdl, const MouseEvent&, bool)
{
m_bModKey = false;
m_aRepeat.Stop();
- return false;
+ return true;
}
IMPL_LINK_NOARG(ButtonPressRepeater, RepeatTimerHdl, Timer*, void)
More information about the Libreoffice-commits
mailing list