diff options
author | 2018-08-30 22:23:27 +1000 | |
---|---|---|
committer | 2018-09-05 18:01:43 +1000 | |
commit | 06d969382988e49c7308b43dd3740c8f363cb71f (patch) | |
tree | af4d73785507709cae174f7a1dd8d40c723400a3 /sway/commands/move.c | |
parent | Fix crash when focus hits edge of root (diff) | |
download | sway-06d969382988e49c7308b43dd3740c8f363cb71f.tar.gz sway-06d969382988e49c7308b43dd3740c8f363cb71f.tar.zst sway-06d969382988e49c7308b43dd3740c8f363cb71f.zip |
Remove offset argument to container_add_sibling
I added this thinking that it might come in useful. Turns out it didn't.
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c index 1b2e830c..c2098818 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c | |||
@@ -233,7 +233,7 @@ static void container_move_to_container(struct sway_container *container, | |||
233 | container->saved_width = container->saved_height = 0; | 233 | container->saved_width = container->saved_height = 0; |
234 | 234 | ||
235 | if (destination->view) { | 235 | if (destination->view) { |
236 | container_add_sibling(destination, container, 1); | 236 | container_add_sibling(destination, container); |
237 | } else { | 237 | } else { |
238 | container_add_child(destination, container); | 238 | container_add_child(destination, container); |
239 | } | 239 | } |