summaryrefslogtreecommitdiffstats
path: root/sway/commands/border.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/border.c')
-rw-r--r--sway/commands/border.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands/border.c b/sway/commands/border.c
index b6eab550..d51741d2 100644
--- a/sway/commands/border.c
+++ b/sway/commands/border.c
@@ -93,7 +93,7 @@ struct cmd_results *cmd_border(int argc, char **argv) {
93 } 93 }
94 94
95 if (container_is_floating(container)) { 95 if (container_is_floating(container)) {
96 container_set_geometry_from_floating_view(container); 96 container_set_geometry_from_content(container);
97 } 97 }
98 98
99 arrange_container(container); 99 arrange_container(container);