diff --git a/0001-schemas-add-a-scroll-button-locking-to-the-trackball.patch b/0001-schemas-add-a-scroll-button-locking-to-the-trackball.patch new file mode 100644 index 0000000..d06fe7c --- /dev/null +++ b/0001-schemas-add-a-scroll-button-locking-to-the-trackball.patch @@ -0,0 +1,33 @@ +From 1e58ab07356c4c44b814768fca56e2ce951617d0 Mon Sep 17 00:00:00 2001 +From: Peter Hutterer +Date: Tue, 8 Sep 2020 10:21:53 +1000 +Subject: [PATCH] schemas: add a scroll button locking to the trackball + +Where enabled, the first click of the scroll button sets the button logically +down, the second click sets the button logically up. + +This is an accessibility feature, it doesn't require users to keep holding the +button down while scrolling which is hard or impossible for some users. +--- + schemas/org.gnome.desktop.peripherals.gschema.xml.in | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in b/schemas/org.gnome.desktop.peripherals.gschema.xml.in +index 7ee3882..0c30c8a 100644 +--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in ++++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in +@@ -210,6 +210,11 @@ + + Mouse wheel emulation button. 0 to disable the feature. + ++ ++ false ++ Mouse wheel emulation button lock ++ Set this to TRUE to enable button locking for the wheel emulation button. If enabled, the first click of the button enables scrolling, the second click disables scrolling again. ++ + + 'default' + Acceleration profile +-- +2.29.2 + diff --git a/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec index 98ed47d..3a25e2b 100644 --- a/gsettings-desktop-schemas.spec +++ b/gsettings-desktop-schemas.spec @@ -2,7 +2,7 @@ Name: gsettings-desktop-schemas Version: 3.38.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A collection of GSettings schemas License: LGPLv2+ @@ -10,6 +10,9 @@ License: LGPLv2+ URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas Source0: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{version}.tar.xz +# Adds a new key that GNOME Shell/mutter 40 alpha expect to exist +Patch0: 0001-schemas-add-a-scroll-button-locking-to-the-trackball.patch + BuildRequires: gettext BuildRequires: glib2-devel >= 2.31.0 BuildRequires: gobject-introspection-devel @@ -71,6 +74,9 @@ glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas %changelog +* Thu Dec 03 2020 Adam Williamson - 3.38.0-2 +- Backport an upstream addition of a key GNOME Shell 40 alpha expects + * Mon Sep 14 2020 Kalev Lember - 3.38.0-1 - Update to 3.38.0