summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-26 11:02:21 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-05-26 11:05:02 -0400
commit569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9 (patch)
tree02716bf706478cc5ca73d892dfc34c8a327897b3 /include
parentReplace oft-failing abort with if statement (diff)
downloadsway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.tar.gz
sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.tar.zst
sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.zip
Implement swap command
Diffstat (limited to 'include')
-rw-r--r--include/sway/commands.h1
-rw-r--r--include/sway/tree/layout.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/commands.h b/include/sway/commands.h
index d39ac56c..365068ae 100644
--- a/include/sway/commands.h
+++ b/include/sway/commands.h
@@ -144,6 +144,7 @@ sway_cmd cmd_splitt;
144sway_cmd cmd_splitv; 144sway_cmd cmd_splitv;
145sway_cmd cmd_sticky; 145sway_cmd cmd_sticky;
146sway_cmd cmd_swaybg_command; 146sway_cmd cmd_swaybg_command;
147sway_cmd cmd_swap;
147sway_cmd cmd_title_format; 148sway_cmd cmd_title_format;
148sway_cmd cmd_unmark; 149sway_cmd cmd_unmark;
149sway_cmd cmd_workspace; 150sway_cmd cmd_workspace;
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,
69void container_recursive_resize(struct sway_container *container, 69void container_recursive_resize(struct sway_container *container,
70 double amount, enum resize_edge edge); 70 double amount, enum resize_edge edge);
71 71
72void container_swap(struct sway_container *con1, struct sway_container *con2);
73
72#endif 74#endif