summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index a4e4983..b70d818 100644
--- a/dwl.c
+++ b/dwl.c
@@ -460,6 +460,10 @@ void
arrange(Monitor *m)
{
Client *c;
+
+ if (!m->wlr_output->enabled)
+ return;
+
wl_list_for_each(c, &clients, link) {
if (c->mon == m) {
wlr_scene_node_set_enabled(&c->scene->node, VISIBLEON(c, m));