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
1 changed files with 2 additions and 1 deletions

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