aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2016-07-18 07:38:35 -0400
committerGitHub <noreply@github.com>2016-07-18 07:38:35 -0400
commit435509c87155e6c76acbbc5e689f7e1d97e8482f (patch)
treeb577af599b0dd14594d516ce427f5f5b055a3102
parent31a7119c3db722b2cea41bafa9e7b9cc37c9ba5e (diff)
parent5d250f3da61833d08b44464c29df41e3d4234f66 (diff)
Merge pull request #767 from thejan2009/correct-container-titles
Construct titles of nested tabbed/stacked containers from app_id inst…
-rw-r--r--sway/border.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/border.c b/sway/border.c
index 9bc25816..55628972 100644
--- a/sway/border.c
+++ b/sway/border.c
@@ -234,7 +234,7 @@ static char *generate_container_title(swayc_t *container) {
for (i = 0; i < container->children->length; ++i) {
prev_name = name;
swayc_t* child = container->children->items[i];
- const char *title = child->name;
+ const char *title = child->app_id;
if (child->type == C_CONTAINER) {
title = generate_container_title(child);
}