mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2025-09-07 11:44:51 +00:00
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From 49592023b979ac04599d4177f576d3db2d256854 Mon Sep 17 00:00:00 2001
|
|
From: ahmadinne <fikri.mny@gmail.com>
|
|
Date: Sat, 16 Aug 2025 00:46:08 +0700
|
|
Subject: [PATCH] create naturalscrollfix
|
|
|
|
---
|
|
dwl.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/dwl.c b/dwl.c
|
|
index c717c1d..4325df0 100644
|
|
--- a/dwl.c
|
|
+++ b/dwl.c
|
|
@@ -1087,10 +1087,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);
|
|
--
|
|
2.50.1
|
|
|