summaryrefslogtreecommitdiff
path: root/sway/layout.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-08-01 07:27:12 -0400
committerGitHub <[email protected]>2016-08-01 07:27:12 -0400
commit2d907ef1f6f13a7921c295502d7b1047945cc327 (patch)
treef9326301b2dddf573d37612c7926dcb6248c913f /sway/layout.c
parentc6f9767487282cb68c0496ca7115a3acc4a4d6e2 (diff)
parentfe608c80ae66d77f826ca077bd1c6a4fa7db3dd6 (diff)
Merge pull request #811 from acrisci/feature/focus-container
Implement focus handling for containers
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
c->border_geometry = g;
*geometry = c->actual_geometry;
- update_view_border(c);
+ update_container_border(c);
}
void update_layout_geometry(swayc_t *parent, enum swayc_layouts prev_layout) {
@@ -688,7 +688,7 @@ void update_geometry(swayc_t *container) {
container->actual_geometry = geometry;
if (container->type == C_VIEW) {
- update_view_border(container);
+ update_container_border(container);
}
}
@@ -867,7 +867,7 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
// update focused view border last because it may
// depend on the title bar geometry of its siblings.
if (focused && container->children->length > 1) {
- update_view_border(focused);
+ update_container_border(focused);
}
}
break;
@@ -911,7 +911,7 @@ static void arrange_windows_r(swayc_t *container, double width, double height) {
// update focused view border last because it may
// depend on the title bar geometry of its siblings.
if (focused && container->children->length > 1) {
- update_view_border(focused);
+ update_container_border(focused);
}
}
break;