Use full layout name

This commit is contained in:
Bastien Dejean 2012-12-17 22:06:44 +01:00
parent 4de5f0d4b2
commit 939d569dc0

2
tree.c
View file

@ -239,7 +239,7 @@ void put_status(void)
printf("%c%c%s:", (m->desk == d ? 'D' : (d->root != NULL ? 'd' : '_')), (urgent ? '!' : '_'), d->name);
}
}
printf("L%c:W%X\n", (mon->desk->layout == LAYOUT_TILED ? 'T' : 'M'), (mon->desk->focus == NULL ? 0 : mon->desk->focus->client->window));
printf("L%s:W%X\n", (mon->desk->layout == LAYOUT_TILED ? "tiled" : "monocle"), (mon->desk->focus == NULL ? 0 : mon->desk->focus->client->window));
fflush(stdout);
}