mirror of
https://github.com/swaywm/sway.git
synced 2026-04-28 06:46:26 -04:00
Fix errors
This commit is contained in:
parent
068c777de2
commit
76ec7d9433
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@ struct cmd_results *touch_gesture_cmd_delay(int argc, char **argv) {
|
|||
config->handler_context.current_gesture->gesture;
|
||||
|
||||
struct libtouch_action *action =
|
||||
libtouch_gesture_add_delay(gesture, mode);
|
||||
libtouch_gesture_add_delay(gesture, delay);
|
||||
|
||||
config->handler_context.current_gesture_action = action;
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ struct cmd_results *touch_gesture_cmd_threshold(int argc, char **argv) {
|
|||
return cmd_results_new(
|
||||
CMD_INVALID, "Invalid threshold: %s", argv[0]);
|
||||
}
|
||||
sway_log(SWAY_DEBUG, "Set threshold %d", threshold);
|
||||
sway_log(SWAY_DEBUG, "Set threshold %ld", threshold);
|
||||
libtouch_action_set_threshold(current, threshold);
|
||||
return cmd_results_new(CMD_SUCCESS,
|
||||
"Set threshold");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue