aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorRyan Dwyer <ryandwyer1@gmail.com>2018-09-29 17:05:55 +1000
committerRyan Dwyer <ryandwyer1@gmail.com>2018-09-29 17:05:55 +1000
commit42f1fdf0153e38cfec44d816afe8b598199d1320 (patch)
tree8b2e2ce185e180d077cb947dd99ac6b4598535f9 /include/sway
parentdc01e884f7d71435015dd3e61f0e269a88975d8a (diff)
downloadsway-42f1fdf0153e38cfec44d816afe8b598199d1320.tar.xz
Return an error when resizing is a no op
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/commands.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index 1654eb48..370a1f7a 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -95,7 +95,7 @@ struct cmd_results *add_color(const char *name,
/**
* TODO: Move this function and its dependent functions to container.c.
*/
-void container_resize_tiled(struct sway_container *parent, enum wlr_edges edge,
+bool container_resize_tiled(struct sway_container *parent, enum wlr_edges edge,
int amount);
sway_cmd cmd_assign;