diff options
Diffstat (limited to 'sway/commands/tiling_drag_threshold.c')
-rw-r--r-- | sway/commands/tiling_drag_threshold.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/commands/tiling_drag_threshold.c b/sway/commands/tiling_drag_threshold.c index 6b0531c3..f1191118 100644 --- a/sway/commands/tiling_drag_threshold.c +++ b/sway/commands/tiling_drag_threshold.c @@ -12,11 +12,10 @@ struct cmd_results *cmd_tiling_drag_threshold(int argc, char **argv) { char *inv; int value = strtol(argv[0], &inv, 10); if (*inv != '\0' || value < 0) { - return cmd_results_new(CMD_INVALID, "tiling_drag_threshold", - "Invalid threshold specified"); + return cmd_results_new(CMD_INVALID, "Invalid threshold specified"); } config->tiling_drag_threshold = value; - return cmd_results_new(CMD_SUCCESS, NULL, NULL); + return cmd_results_new(CMD_SUCCESS, NULL); } |