only raise the client's node in monocle()

Fixes: https://github.com/djpohly/dwl/issues/326
This commit is contained in:
Leonardo Hernández Hernández 2022-10-29 15:25:13 -05:00
parent 2f7834b130
commit 9588b46b5c
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

3
dwl.c
View File

@ -1495,7 +1495,8 @@ monocle(Monitor *m)
continue; continue;
resize(c, m->w, 0); resize(c, m->w, 0);
} }
focusclient(focustop(m), 1); if ((c = focustop(m)))
wlr_scene_node_raise_to_top(c->scene);
} }
void void