From 9588b46b5c47a9b4990340ba54a3b4dc075ba55b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?= Date: Sat, 29 Oct 2022 15:25:13 -0500 Subject: [PATCH] only raise the client's node in monocle() Fixes: https://github.com/djpohly/dwl/issues/326 --- dwl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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