summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-08-09 12:47:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-08-09 20:40:44 +0200
commiteeeef98796df322d89912070c8e431c5f6d1283f (patch)
tree69f226d830a8546e7ab2cc4f6f7c3afdd126deff
parent82a444eabc38b74d762debb6f1af50e93e5b74f1 (diff)
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@redhat.com>
-rw-r--r--vcl/source/app/weldutils.cxx4
1 files changed, 2 insertions, 2 deletions
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)