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
Failed to generate hash of commit

3
dwl.c
View file

@ -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