~ruther/dwl

84358dd4ef89dfacaae3ead1f798c1303a525855 — Rutherther 11 months ago 577d8da patch/naturalscrolltrackpad
feat: natural scrolling only for trackpad
1 files changed, 2 insertions(+), 3 deletions(-)

M dwl.c
M dwl.c => dwl.c +2 -3
@@ 1000,11 1000,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);


Do not follow this link