aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree
diff options
context:
space:
mode:
authorRyan Dwyer <RyanDwyer@users.noreply.github.com>2018-05-28 00:20:50 +1000
committerGitHub <noreply@github.com>2018-05-28 00:20:50 +1000
commit3ee286d7f7e9e72a98cbf3b734b36c7e468e1c95 (patch)
tree2b0c481616cd738e0f6ca92be9594eec7707799b /include/sway/tree
parentde32b6d52ef8cf7d477fba23f42ca054155add56 (diff)
parent8fda41dab52656c7c4a0db9a835ae57cea994538 (diff)
Merge pull request #2040 from RedSoxFan/cmd-swap
Implement swap command
Diffstat (limited to 'include/sway/tree')
-rw-r--r--include/sway/tree/layout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sway/tree/layout.h b/include/sway/tree/layout.h
index cc999871..2e0f2abf 100644
--- a/include/sway/tree/layout.h
+++ b/include/sway/tree/layout.h
@@ -69,4 +69,6 @@ struct sway_container *container_split(struct sway_container *child,
void container_recursive_resize(struct sway_container *container,
double amount, enum resize_edge edge);
+void container_swap(struct sway_container *con1, struct sway_container *con2);
+
#endif