borderless_monocle: include pseudo-tiled windows

Fixes #617.
This commit is contained in:
Bastien Dejean 2017-02-27 14:21:57 +01:00
parent eede3ea1a4
commit f197cfdbe7

View file

@ -96,7 +96,7 @@ void apply_layout(monitor_t *m, desktop_t *d, node_t *n, layout_t l, xcb_rectang
}
unsigned int bw;
if ((borderless_monocle && n->client->state == STATE_TILED && l == LAYOUT_MONOCLE)
if ((borderless_monocle && l == LAYOUT_MONOCLE && IS_TILED(n->client))
|| n->client->state == STATE_FULLSCREEN) {
bw = 0;
} else {