summaryrefslogtreecommitdiffstats
path: root/sway/handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/handlers.c')
-rw-r--r--sway/handlers.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sway/handlers.c b/sway/handlers.c
index a7a87564..1b96be0a 100644
--- a/sway/handlers.c
+++ b/sway/handlers.c
@@ -523,8 +523,9 @@ static void handle_view_properties_updated(wlc_handle view, uint32_t mask) {
523 if (!c->name || strcmp(c->name, new_name) != 0) { 523 if (!c->name || strcmp(c->name, new_name) != 0) {
524 free(c->name); 524 free(c->name);
525 c->name = strdup(new_name); 525 c->name = strdup(new_name);
526 swayc_t *p = swayc_tabbed_stacked_parent(c); 526 swayc_t *p = swayc_tabbed_stacked_ancestor(c);
527 if (p) { 527 if (p) {
528 // TODO: we only got the topmost tabbed/stacked container, update borders of all containers on the path
528 update_view_border(get_focused_view(p)); 529 update_view_border(get_focused_view(p));
529 } else if (c->border_type == B_NORMAL) { 530 } else if (c->border_type == B_NORMAL) {
530 update_view_border(c); 531 update_view_border(c);