aboutsummaryrefslogtreecommitdiff
path: root/patches/naturalscrolltrackpad.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/naturalscrolltrackpad.patch')
-rw-r--r--patches/naturalscrolltrackpad.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/patches/naturalscrolltrackpad.patch b/patches/naturalscrolltrackpad.patch
deleted file mode 100644
index 5cd3742..0000000
--- a/patches/naturalscrolltrackpad.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 8b523453aefdc9d2920c8f9a52de009da251fbb0 Mon Sep 17 00:00:00 2001
-From: neuromagus <neuromagus@mail.ru>
-Date: Sun, 7 Jan 2024 05:11:24 +0300
-Subject: [PATCH] apply patch naturalscrolltrackpad
-
----
- dwl.c | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/dwl.c b/dwl.c
-index 4d19357..26f394b 100644
---- a/dwl.c
-+++ b/dwl.c
-@@ -974,11 +974,10 @@ createpointer(struct wlr_pointer *pointer)
- libinput_device_config_tap_set_drag_enabled(device, tap_and_drag);
- libinput_device_config_tap_set_drag_lock_enabled(device, drag_lock);
- libinput_device_config_tap_set_button_map(device, button_map);
-+ if (libinput_device_config_scroll_has_natural_scroll(device))
-+ libinput_device_config_scroll_set_natural_scroll_enabled(device, natural_scrolling);
- }
-
-- if (libinput_device_config_scroll_has_natural_scroll(device))
-- libinput_device_config_scroll_set_natural_scroll_enabled(device, natural_scrolling);
--
- if (libinput_device_config_dwt_is_available(device))
- libinput_device_config_dwt_set_enabled(device, disable_while_typing);
-