fix bad indentation in createpointer()

This commit is contained in:
Leonardo Hernández Hernández 2022-10-08 20:51:05 -05:00
parent 3902fba769
commit 1438dfc150
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

4
dwl.c
View File

@ -1059,8 +1059,8 @@ createpointer(struct wlr_input_device *device)
if (libinput_device_config_scroll_get_methods(libinput_device) != LIBINPUT_CONFIG_SCROLL_NO_SCROLL) if (libinput_device_config_scroll_get_methods(libinput_device) != LIBINPUT_CONFIG_SCROLL_NO_SCROLL)
libinput_device_config_scroll_set_method (libinput_device, scroll_method); libinput_device_config_scroll_set_method (libinput_device, scroll_method);
if (libinput_device_config_click_get_methods(libinput_device) != LIBINPUT_CONFIG_CLICK_METHOD_NONE) if (libinput_device_config_click_get_methods(libinput_device) != LIBINPUT_CONFIG_CLICK_METHOD_NONE)
libinput_device_config_click_set_method (libinput_device, click_method); libinput_device_config_click_set_method (libinput_device, click_method);
if (libinput_device_config_send_events_get_modes(libinput_device)) if (libinput_device_config_send_events_get_modes(libinput_device))
libinput_device_config_send_events_set_mode(libinput_device, send_events_mode); libinput_device_config_send_events_set_mode(libinput_device, send_events_mode);