Construct titles of nested tabbed/stacked containers from app_id instead of title

This commit is contained in:
D.B 2016-07-18 12:35:50 +02:00
parent 31a7119c3d
commit 5d250f3da6

View file

@ -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);
}