diff options
author | Drew DeVault <[email protected]> | 2017-01-18 20:50:30 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2017-01-18 20:50:30 -0500 |
commit | fa19960d1e700c9999117c9bd4b1ad0fbc16a028 (patch) | |
tree | 99225cbb7e76e869ba96ce87bbf28ca47f299fa2 /sway/border.c | |
parent | dd41ce45f7eb26ad84e9b3fe7a83f200f6396711 (diff) | |
parent | d443bce6fe78fc21560afe2d194f8bbd7593820d (diff) |
Merge pull request #1052 from Hummer12007/instance
Add window instance support
Diffstat (limited to 'sway/border.c')
-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) { swayc_t* child = container->children->items[i]; const char *title = NULL; 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 title = generate_container_title(child); } |