update comment about client_set_size() as no-op

This commit is contained in:
Leonardo Hernández Hernández 2022-12-30 14:19:47 -06:00
parent 6d0e3a5198
commit e523c2b82b
Failed to generate hash of commit

2
dwl.c
View file

@ -1875,7 +1875,7 @@ resize(Client *c, struct wlr_box geo, int interact)
wlr_scene_node_set_position(&c->border[2]->node, 0, c->bw);
wlr_scene_node_set_position(&c->border[3]->node, c->geom.width - c->bw, c->bw);
/* wlroots makes this a no-op if size hasn't changed */
/* this is a no-op if size hasn't changed */
c->resize = client_set_size(c, c->geom.width - 2 * c->bw,
c->geom.height - 2 * c->bw);
}