|
|
@ -254,7 +254,9 @@ static char *generate_container_title(swayc_t *container) {
|
|
|
|
swayc_t* child = container->children->items[i];
|
|
|
|
swayc_t* child = container->children->items[i];
|
|
|
|
const char *title = NULL;
|
|
|
|
const char *title = NULL;
|
|
|
|
if (child->type == C_VIEW) {
|
|
|
|
if (child->type == C_VIEW) {
|
|
|
|
title = child->app_id ? child->app_id : (child->class ? child->class : "(null)");
|
|
|
|
title = child->app_id ? child->app_id :
|
|
|
|
|
|
|
|
(child->instance ? child->instance :
|
|
|
|
|
|
|
|
(child->class ? child->class :"(null)"));
|
|
|
|
} else { //child->type == C_CONTAINER
|
|
|
|
} else { //child->type == C_CONTAINER
|
|
|
|
title = generate_container_title(child);
|
|
|
|
title = generate_container_title(child);
|
|
|
|
}
|
|
|
|
}
|
|
|
|