Return an error when resizing is a no op

This commit is contained in:
Ryan Dwyer 2018-09-29 17:05:55 +10:00
parent dc01e884f7
commit 42f1fdf015
2 changed files with 20 additions and 12 deletions

View file

@ -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;