summaryrefslogtreecommitdiff
path: root/dwl.c
diff options
context:
space:
mode:
Diffstat (limited to 'dwl.c')
-rw-r--r--dwl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index a80de05..8c7644e 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1495,7 +1495,8 @@ monocle(Monitor *m)
continue;
resize(c, m->w, 0);
}
- focusclient(focustop(m), 1);
+ if ((c = focustop(m)))
+ wlr_scene_node_raise_to_top(c->scene);
}
void