diff options
-rw-r--r-- | sway/border.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sway/border.c b/sway/border.c index 5ae32d24..d79029a9 100644 --- a/sway/border.c +++ b/sway/border.c | |||
@@ -254,7 +254,9 @@ static char *generate_container_title(swayc_t *container) { | |||
254 | swayc_t* child = container->children->items[i]; | 254 | swayc_t* child = container->children->items[i]; |
255 | const char *title = NULL; | 255 | const char *title = NULL; |
256 | if (child->type == C_VIEW) { | 256 | if (child->type == C_VIEW) { |
257 | title = child->app_id ? child->app_id : (child->class ? child->class : "(null)"); | 257 | title = child->app_id ? child->app_id : |
258 | (child->instance ? child->instance : | ||
259 | (child->class ? child->class :"(null)")); | ||
258 | } else { //child->type == C_CONTAINER | 260 | } else { //child->type == C_CONTAINER |
259 | title = generate_container_title(child); | 261 | title = generate_container_title(child); |
260 | } | 262 | } |