|
|
9062cd |
From c70a1fa37f68687b8c0a013d2328e6262f8419d0 Mon Sep 17 00:00:00 2001
|
|
|
9062cd |
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
|
|
|
9062cd |
Date: Fri, 9 Dec 2022 15:31:08 +0100
|
|
|
9062cd |
Subject: [PATCH] gesture-inhibitor: Allow inhibiting workspace switch gesture
|
|
|
9062cd |
|
|
|
9062cd |
---
|
|
|
9062cd |
extensions/gesture-inhibitor/extension.js | 1 +
|
|
|
9062cd |
.../org.gnome.shell.extensions.gesture-inhibitor.gschema.xml | 4 ++++
|
|
|
9062cd |
2 files changed, 5 insertions(+)
|
|
|
9062cd |
|
|
|
9062cd |
diff --git a/extensions/gesture-inhibitor/extension.js b/extensions/gesture-inhibitor/extension.js
|
|
|
9062cd |
index fb8a6dc0..d103d5b8 100644
|
|
|
9062cd |
--- a/extensions/gesture-inhibitor/extension.js
|
|
|
9062cd |
+++ b/extensions/gesture-inhibitor/extension.js
|
|
|
9062cd |
@@ -48,6 +48,7 @@ class Extension {
|
|
|
9062cd |
{ setting: 'app-switch', action: this._appSwitch },
|
|
|
9062cd |
{ setting: 'show-osk', action: this._showOsk },
|
|
|
9062cd |
{ setting: 'unfullscreen', action: this._unfullscreen },
|
|
|
9062cd |
+ { setting: 'workspace-switch', action: Main.wm._workspaceAnimation._swipeTracker },
|
|
|
9062cd |
];
|
|
|
9062cd |
|
|
|
9062cd |
this._enabledDesc = Object.getOwnPropertyDescriptor(
|
|
|
9062cd |
diff --git a/extensions/gesture-inhibitor/org.gnome.shell.extensions.gesture-inhibitor.gschema.xml b/extensions/gesture-inhibitor/org.gnome.shell.extensions.gesture-inhibitor.gschema.xml
|
|
|
9062cd |
index 4bdf9260..b06d027a 100644
|
|
|
9062cd |
--- a/extensions/gesture-inhibitor/org.gnome.shell.extensions.gesture-inhibitor.gschema.xml
|
|
|
9062cd |
+++ b/extensions/gesture-inhibitor/org.gnome.shell.extensions.gesture-inhibitor.gschema.xml
|
|
|
9062cd |
@@ -12,6 +12,10 @@
|
|
|
9062cd |
<default>true</default>
|
|
|
9062cd |
<summary>Application switch gesture</summary>
|
|
|
9062cd |
</key>
|
|
|
9062cd |
+ <key name="workspace-switch" type="b">
|
|
|
9062cd |
+ <default>true</default>
|
|
|
9062cd |
+ <summary>Workspace switch gesture</summary>
|
|
|
9062cd |
+ </key>
|
|
|
9062cd |
<key name="unfullscreen" type="b">
|
|
|
9062cd |
<default>true</default>
|
|
|
9062cd |
<summary>Unfullscreen gesture</summary>
|
|
|
9062cd |
--
|
|
|
9062cd |
2.38.1
|
|
|
9062cd |
|