diff options
Diffstat (limited to 'sway/commands/input/map_to_region.c')
-rw-r--r-- | sway/commands/input/map_to_region.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/commands/input/map_to_region.c b/sway/commands/input/map_to_region.c index e85495e5..ad535db2 100644 --- a/sway/commands/input/map_to_region.c +++ b/sway/commands/input/map_to_region.c | |||
@@ -1,7 +1,6 @@ | |||
1 | #define _POSIX_C_SOURCE 200809L | 1 | #define _POSIX_C_SOURCE 200809L |
2 | #include <stdlib.h> | 2 | #include <stdlib.h> |
3 | #include <string.h> | 3 | #include <string.h> |
4 | #include <wlr/types/wlr_box.h> | ||
5 | #include "sway/commands.h" | 4 | #include "sway/commands.h" |
6 | #include "sway/config.h" | 5 | #include "sway/config.h" |
7 | 6 | ||
@@ -50,5 +49,5 @@ struct cmd_results *input_cmd_map_to_region(int argc, char **argv) { | |||
50 | error: | 49 | error: |
51 | free(ic->mapped_to_region); | 50 | free(ic->mapped_to_region); |
52 | ic->mapped_to_region = NULL; | 51 | ic->mapped_to_region = NULL; |
53 | return cmd_results_new(CMD_FAILURE, errstr); | 52 | return cmd_results_new(CMD_FAILURE, "%s", errstr); |
54 | } | 53 | } |