mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-09-19 22:02:52 +00:00
Disambiguate dwl-patches' license - closes issue #530
During the hosting transition from github to codeberg, dwl and dwl-patches were split up for logistical reasons. In doing so, however, the license files remained with dwl and were not replicated into the new dwl-patches repository. This left new patches and contributions to patches in an ambiguous license state. Codeberg dwl-patches issue #530 requested that contributors to dwl-patches explicitly consent or dissent to the dwl license structure. All but seven contributors did so. Those seven contributors' patches are here formally removed as dwl-patches adopts the dwl license structure. For clarity this license structure is as follows: GPL-3+ license with a provision for the MIT license covering any patches that affect util.c and util.h and a provision for the sway license covering any patches that interact with client_is_float_type() and the layer shell code which were drawn out of the sway code base.
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
### Description
|
||||
|
||||
Set natural scrolling only for trackpads. Without this patch, setting
|
||||
`natural_scrolling` to 1 in `config.h` results in a regular mouse wheel having
|
||||
natural scrolling enabled as well.
|
||||
|
||||
### Download
|
||||
|
||||
- [0.7](/dwl/dwl-patches/raw/branch/main/patches/naturalscrolltrackpad/naturalscrolltrackpad.patch)
|
||||
|
||||
### Authors
|
||||
|
||||
- [Nikita Ivanov](https://codeberg.org/nikitaivanov) ([GitHub](https://github.com/NikitaIvanovV))
|
||||
- [Neuromagus](https://codeberg.org/neuromagus)
|
||||
@@ -1,30 +0,0 @@
|
||||
From 63f38e7ccda8067a0558a6e81baad89ffbba9d6a Mon Sep 17 00:00:00 2001
|
||||
From: Nikita Ivanov <nikita.vyach.ivanov@gmail.com>
|
||||
Date: Sat, 8 Feb 2025 16:31:09 +0100
|
||||
Subject: [PATCH] Set natural scrolling only for trackpads
|
||||
|
||||
---
|
||||
dwl.c | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/dwl.c b/dwl.c
|
||||
index def2562..f6bb544 100644
|
||||
--- a/dwl.c
|
||||
+++ b/dwl.c
|
||||
@@ -1085,10 +1085,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.48.1
|
||||
|
||||
Reference in New Issue
Block a user