mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: fix format
This commit is contained in:
parent
64b83d907e
commit
5a8d666101
2 changed files with 3 additions and 3 deletions
|
|
@ -1172,7 +1172,7 @@ void parse_config_line(Config *config, const char *line) {
|
|||
} else if (strcmp(key, "scroll_method") == 0) {
|
||||
config->scroll_method = atoi(value);
|
||||
} else if (strcmp(key, "scroll_button") == 0) {
|
||||
config->scroll_button = atoi(value);
|
||||
config->scroll_button = atoi(value);
|
||||
} else if (strcmp(key, "click_method") == 0) {
|
||||
config->click_method = atoi(value);
|
||||
} else if (strcmp(key, "send_events_mode") == 0) {
|
||||
|
|
|
|||
|
|
@ -3941,8 +3941,8 @@ void createpointer(struct wlr_pointer *pointer) {
|
|||
LIBINPUT_CONFIG_SCROLL_NO_SCROLL)
|
||||
libinput_device_config_scroll_set_method(device, scroll_method);
|
||||
if (libinput_device_config_scroll_get_methods(device) ==
|
||||
LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN)
|
||||
libinput_device_config_scroll_set_button(device, scroll_button);
|
||||
LIBINPUT_CONFIG_SCROLL_ON_BUTTON_DOWN)
|
||||
libinput_device_config_scroll_set_button(device, scroll_button);
|
||||
|
||||
if (libinput_device_config_click_get_methods(device) !=
|
||||
LIBINPUT_CONFIG_CLICK_METHOD_NONE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue