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 cc72df11d6
commit f899060965
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

1
dwl.c
View File

@ -1703,6 +1703,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;