From f197cfdbe7a08a497ddd6e2f8c761aba6004cd23 Mon Sep 17 00:00:00 2001 From: Bastien Dejean Date: Mon, 27 Feb 2017 14:21:57 +0100 Subject: [PATCH] borderless_monocle: include pseudo-tiled windows Fixes #617. --- src/tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tree.c b/src/tree.c index 3d1e541..8a3d0a0 100644 --- a/src/tree.c +++ b/src/tree.c @@ -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 {