aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands')
-rw-r--r--sway/commands/swap.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sway/commands/swap.c b/sway/commands/swap.c
index b978af16..f27aa7ed 100644
--- a/sway/commands/swap.c
+++ b/sway/commands/swap.c
@@ -84,8 +84,7 @@ static void swap_focus(struct sway_container *con1,
}
}
-static void container_swap(struct sway_container *con1,
- struct sway_container *con2) {
+void container_swap(struct sway_container *con1, struct sway_container *con2) {
if (!sway_assert(con1 && con2, "Cannot swap with nothing")) {
return;
}