mirror of
https://github.com/swaywm/sway.git
synced 2024-11-18 22:19:14 +00:00
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:
commit
435509c871
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue