aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-29 11:24:54 +0200
committerGitHub <noreply@github.com>2018-09-29 11:24:54 +0200
commit351e722b6e10f27625da7ae457240a3caf6c809d (patch)
tree382c09db267d79e5f5e9fb755b237f1e66e2aea0 /include/sway
parent0f0d0c7f9bc4c447224aa3812c31fc596a5bde7c (diff)
parent42f1fdf0153e38cfec44d816afe8b598199d1320 (diff)
Merge pull request #2729 from RyanDwyer/resize-return-false
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;