diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-10-29 15:25:13 -0500 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-10-29 16:47:17 -0500 |
commit | 9588b46b5c47a9b4990340ba54a3b4dc075ba55b (patch) | |
tree | d9d90b521c9c40c0f4ccf255e1838376b5c27eec | |
parent | 2f7834b130dbd930b06ae4d8ef802bd115b011d1 (diff) |
only raise the client's node in monocle()
Fixes: https://github.com/djpohly/dwl/issues/326
-rw-r--r-- | dwl.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |