Revert natural scrolling for mice

This commit is contained in:
Kalev Lember 2015-12-10 15:46:03 +01:00
parent 681810c882
commit bcc2b4c387
2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,30 @@
From d2fa2bc00df6858a8478b28e92a091d2375ad2e7 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 2 Dec 2015 10:53:52 +0100
Subject: [PATCH] schemas: Revert natural scrolling for mice
In commit 6f7b78c1b we enabled natural scrolling for both touchpads and
mice. The problem is that "mice" is really, mice, trackballs,
trackpoints, etc. This wasn't the original intent for that change.
https://bugzilla.gnome.org/show_bug.cgi?id=758740
---
schemas/org.gnome.desktop.peripherals.gschema.xml.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
index 0245a62..ff417db 100644
--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in
+++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
@@ -75,7 +75,7 @@
<range min="-1" max="1"/>
</key>
<key name="natural-scroll" type="b">
- <default>true</default>
+ <default>false</default>
<summary>Natural scrolling</summary>
<description>Set this to TRUE to enable natural (reverse) scrolling for mice.</description>
</key>
--
2.6.3

View File

@ -2,7 +2,7 @@
Name: gsettings-desktop-schemas
Version: 3.19.2
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A collection of GSettings schemas
Group: System Environment/Libraries
@ -11,6 +11,8 @@ License: LGPLv2+
URL: http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas
#VCS: git:git://git.gnome.org/gsettings-desktop-schemas
Source: http://download.gnome.org/sources/%{name}/3.18/%{name}-%{version}.tar.xz
# Backported from upstream
Patch0: 0001-schemas-Revert-natural-scrolling-for-mice.patch
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: intltool
@ -34,6 +36,7 @@ and header files for developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1
%build
%configure --disable-schemas-compile --enable-introspection=yes
@ -70,6 +73,9 @@ fi
%changelog
* Thu Dec 10 2015 Kalev Lember <klember@redhat.com> - 3.19.2-2
- Revert natural scrolling for mice
* Wed Nov 25 2015 Florian Müllner <fmuellner@redhat.com> - 3.19.2-1
- Update to 3.19.2