send a configure to unmanaged clients when mapping
This commit is contained in:
parent
cc72df11d6
commit
f899060965
1
dwl.c
1
dwl.c
|
@ -1703,6 +1703,7 @@ mapnotify(struct wl_listener *listener, void *data)
|
||||||
/* Unmanaged clients always are floating */
|
/* Unmanaged clients always are floating */
|
||||||
wlr_scene_node_reparent(&c->scene->node, layers[LyrFloat]);
|
wlr_scene_node_reparent(&c->scene->node, layers[LyrFloat]);
|
||||||
wlr_scene_node_set_position(&c->scene->node, c->geom.x, c->geom.y);
|
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)) {
|
if (client_wants_focus(c)) {
|
||||||
focusclient(c, 1);
|
focusclient(c, 1);
|
||||||
exclusive_focus = c;
|
exclusive_focus = c;
|
||||||
|
|
Loading…
Reference in a new issue