Merge pull request #767 from thejan2009/correct-container-titles

Construct titles of nested tabbed/stacked containers from app_id inst…
This commit is contained in:
Drew DeVault 2016-07-18 07:38:35 -04:00 committed by GitHub
commit 435509c871

View file

@ -234,7 +234,7 @@ static char *generate_container_title(swayc_t *container) {
for (i = 0; i < container->children->length; ++i) { for (i = 0; i < container->children->length; ++i) {
prev_name = name; prev_name = name;
swayc_t* child = container->children->items[i]; swayc_t* child = container->children->items[i];
const char *title = child->name; const char *title = child->app_id;
if (child->type == C_CONTAINER) { if (child->type == C_CONTAINER) {
title = generate_container_title(child); title = generate_container_title(child);
} }