aboutsummaryrefslogtreecommitdiffstats
path: root/sway/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/layout.c')
-rw-r--r--sway/layout.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sway/layout.c b/sway/layout.c
index 6502d930..42954ebc 100644
--- a/sway/layout.c
+++ b/sway/layout.c
@@ -441,7 +441,7 @@ static void update_border_geometry_floating(swayc_t *c, struct wlc_geometry *geo
441 c->border_geometry = g; 441 c->border_geometry = g;
442 *geometry = c->actual_geometry; 442 *geometry = c->actual_geometry;
443 443
444 update_view_border(c); 444 update_container_border(c);
445} 445}
446 446
447void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout) { 447void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout) {
@@ -688,7 +688,7 @@ void update_geometry(swayc_t *container) {
688 container->actual_geometry = geometry; 688 container->actual_geometry = geometry;
689 689
690 if (container->type == C_VIEW) { 690 if (container->type == C_VIEW) {
691 update_view_border(container); 691 update_container_border(container);
692 } 692 }
693 } 693 }
694 694
@@ -867,7 +867,7 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
867 // update focused view border last because it may 867 // update focused view border last because it may
868 // depend on the title bar geometry of its siblings. 868 // depend on the title bar geometry of its siblings.
869 if (focused && container->children->length > 1) { 869 if (focused && container->children->length > 1) {
870 update_view_border(focused); 870 update_container_border(focused);
871 } 871 }
872 } 872 }
873 break; 873 break;
@@ -911,7 +911,7 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
911 // update focused view border last because it may 911 // update focused view border last because it may
912 // depend on the title bar geometry of its siblings. 912 // depend on the title bar geometry of its siblings.
913 if (focused && container->children->length > 1) { 913 if (focused && container->children->length > 1) {
914 update_view_border(focused); 914 update_container_border(focused);
915 } 915 }
916 } 916 }
917 break; 917 break;