mirror of
https://github.com/labwc/labwc.git
synced 2025-11-03 09:01:51 -05:00
src/seat.c: Allow pointer speed of -1
This commit is contained in:
parent
869c654fc1
commit
01f6c5d073
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ configure_libinput(struct wlr_input_device *wlr_input_device)
|
||||||
wlr_log(WLR_INFO, "pointer acceleration unavailable");
|
wlr_log(WLR_INFO, "pointer acceleration unavailable");
|
||||||
} else {
|
} else {
|
||||||
wlr_log(WLR_INFO, "pointer acceleration configured");
|
wlr_log(WLR_INFO, "pointer acceleration configured");
|
||||||
if (dc->pointer_speed > -1) {
|
if (dc->pointer_speed >= -1) {
|
||||||
libinput_device_config_accel_set_speed(libinput_dev,
|
libinput_device_config_accel_set_speed(libinput_dev,
|
||||||
dc->pointer_speed);
|
dc->pointer_speed);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue