commit 9588b46b5c47a9b4990340ba54a3b4dc075ba55b
parent 2f7834b130dbd930b06ae4d8ef802bd115b011d1
Author: Leonardo Hernández Hernández <leohdz172@protonmail.com>
Date: Sat, 29 Oct 2022 15:25:13 -0500
only raise the client's node in monocle()
Fixes: https://github.com/djpohly/dwl/issues/326
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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