send a configure to unmanaged clients when mapping

This commit is contained in:
Leonardo Hernández Hernández 2024-08-14 13:15:48 -06:00
parent 89848d98b5
commit 5e010bbfde
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

1
dwl.c
View File

@ -1701,6 +1701,7 @@ mapnotify(struct wl_listener *listener, void *data)
/* Unmanaged clients always are floating */
wlr_scene_node_reparent(&c->scene->node, layers[LyrFloat]);
wlr_scene_node_set_position(&c->scene->node, c->geom.x, c->geom.y);
client_set_size(c, c->geom.width, c->geom.height);
if (client_wants_focus(c)) {
focusclient(c, 1);
exclusive_focus = c;