config: Set click_method for input devices

This commit is contained in:
Victoria Brekenfeld 2022-08-09 09:45:40 +02:00
parent d493b9067c
commit 12f1fa146a

View file

@ -431,6 +431,16 @@ impl Config {
);
}
}
if let Some(method) = config.click_method {
if let Err(err) = device.config_click_set_method(method) {
slog_scope::warn!(
"Failed to apply click method {:?} for device {:?}: {:?}",
method,
device.name(),
err
);
}
}
if let Some(dwt) = config.disable_while_typing {
if let Err(err) = device.config_dwt_set_enabled(dwt) {
slog_scope::warn!(