three-finger-drag toggle

This commit is contained in:
2024-07-09 16:30:31 -05:00
parent 19d7d2fa79
commit 3e62738dc2
2 changed files with 31 additions and 1 deletions

View File

@@ -4,7 +4,7 @@
Name: gsettings-desktop-schemas
Version: 46.0
Release: %autorelease
Release: %autorelease.mr1021
Summary: A collection of GSettings schemas
License: LGPL-2.1-or-later
@@ -12,6 +12,8 @@ License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas
Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz
Patch: three-finger-drag.patch
BuildRequires: gettext
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: gobject-introspection-devel

28
three-finger-drag.patch Normal file
View File

@@ -0,0 +1,28 @@
commit 432d906b1bcbc16cd77e3eb527282c0f5fd8d6a0
Author: Craig Cabrey <craigcabrey@gmail.com>
Date: Mon Jan 27 19:09:57 2020 -0800
schemas: add three finger drag setting
Allow the user to specify whether to enable the three finger drag
functionality.
Supports the three finger drag MR for mutter:
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1021
diff --git a/schemas/org.gnome.desktop.peripherals.gschema.xml.in b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
index c80be8f..3e5b4a2 100644
--- a/schemas/org.gnome.desktop.peripherals.gschema.xml.in
+++ b/schemas/org.gnome.desktop.peripherals.gschema.xml.in
@@ -81,6 +81,11 @@
<summary>Emulate middle click</summary>
<description>Set this to TRUE to enable middle click during simultaneous left and right click.</description>
</key>
+ <key name="three-finger-drag" type="b">
+ <default>false</default>
+ <summary>Emulate clicking and dragging with a three finger swipe gesture</summary>
+ <description>Set this to TRUE to enable three finger drag gesture emulation.</description>
+ </key>
</schema>
<schema id="org.gnome.desktop.peripherals.keyboard" path="/org/gnome/desktop/peripherals/keyboard/">
<key name="repeat" type="b">