diff options
author | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-26 11:02:21 -0400 |
---|---|---|
committer | Brian Ashworth <bosrsf04@gmail.com> | 2018-05-26 11:05:02 -0400 |
commit | 569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9 (patch) | |
tree | 02716bf706478cc5ca73d892dfc34c8a327897b3 /include | |
parent | Replace oft-failing abort with if statement (diff) | |
download | sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.tar.gz sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.tar.zst sway-569f4e0e4c75562c38848ea0bbaeb3b2f230b1a9.zip |
Implement swap command
Diffstat (limited to 'include')
-rw-r--r-- | include/sway/commands.h | 1 | ||||
-rw-r--r-- | include/sway/tree/layout.h | 2 |
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; | |||
144 | sway_cmd cmd_splitv; | 144 | sway_cmd cmd_splitv; |
145 | sway_cmd cmd_sticky; | 145 | sway_cmd cmd_sticky; |
146 | sway_cmd cmd_swaybg_command; | 146 | sway_cmd cmd_swaybg_command; |
147 | sway_cmd cmd_swap; | ||
147 | sway_cmd cmd_title_format; | 148 | sway_cmd cmd_title_format; |
148 | sway_cmd cmd_unmark; | 149 | sway_cmd cmd_unmark; |
149 | sway_cmd cmd_workspace; | 150 | sway_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, | |||
69 | void container_recursive_resize(struct sway_container *container, | 69 | void container_recursive_resize(struct sway_container *container, |
70 | double amount, enum resize_edge edge); | 70 | double amount, enum resize_edge edge); |
71 | 71 | ||
72 | void container_swap(struct sway_container *con1, struct sway_container *con2); | ||
73 | |||
72 | #endif | 74 | #endif |