[Libreoffice-commits] core.git: include/vcl vcl/source
Noel Grandin (via logerrit)
logerrit at kemper.freedesktop.org
Thu Jan 28 11:23:43 UTC 2021
include/vcl/settings.hxx | 3 +--
vcl/source/app/settings.cxx | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
New commits:
commit d564cad9a69af56445a9a257e23c0dc684371780
Author: Noel Grandin <noel at peralex.com>
AuthorDate: Thu Jan 28 11:40:03 2021 +0200
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Jan 28 12:23:04 2021 +0100
MouseFollowFlags::DDList is dead
has been since initial import
Change-Id: Ib3e708cddd114f63fd6c77e743b56e35d5929d89
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110049
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/include/vcl/settings.hxx b/include/vcl/settings.hxx
index b62f1b2d0522..1e18e005cb70 100644
--- a/include/vcl/settings.hxx
+++ b/include/vcl/settings.hxx
@@ -64,11 +64,10 @@ namespace o3tl
enum class MouseFollowFlags
{
Menu = 0x0001,
- DDList = 0x0002,
};
namespace o3tl
{
- template<> struct typed_flags<MouseFollowFlags> : is_typed_flags<MouseFollowFlags, 0x03> {};
+ template<> struct typed_flags<MouseFollowFlags> : is_typed_flags<MouseFollowFlags, 0x01> {};
}
enum class MouseMiddleButtonAction
diff --git a/vcl/source/app/settings.cxx b/vcl/source/app/settings.cxx
index 556e1f7e69cf..bfce93a9736b 100644
--- a/vcl/source/app/settings.cxx
+++ b/vcl/source/app/settings.cxx
@@ -65,7 +65,7 @@ struct ImplMouseData
tools::Long mnStartDragHeight = 2;
sal_uLong mnButtonRepeat = 90;
sal_uLong mnMenuDelay = 150;
- MouseFollowFlags mnFollow = MouseFollowFlags::Menu | MouseFollowFlags::DDList;
+ MouseFollowFlags mnFollow = MouseFollowFlags::Menu;
MouseMiddleButtonAction mnMiddleButtonAction= MouseMiddleButtonAction::AutoScroll;
MouseWheelBehaviour mnWheelBehavior = MouseWheelBehaviour::ALWAYS;
};
More information about the Libreoffice-commits
mailing list