mirror of
https://github.com/swaywm/sway.git
synced 2024-11-30 03:41:27 +00:00
Construct titles of nested tabbed/stacked containers from app_id instead of title
This commit is contained in:
parent
31a7119c3d
commit
5d250f3da6
|
@ -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