remove a useless resize in mapnotify()

applyrules() calls setmon() which calls resize()
This commit is contained in:
Leonardo Hernández Hernández 2022-03-21 13:28:44 -06:00
parent c50f187c1f
commit 2bc01debdc
No known key found for this signature in database
GPG key ID: E538897EE11B9624

1
dwl.c
View file

@ -1359,7 +1359,6 @@ mapnotify(struct wl_listener *listener, void *data)
/* Set initial monitor, tags, floating status, and focus */ /* Set initial monitor, tags, floating status, and focus */
applyrules(c); applyrules(c);
resize(c, c->geom.x, c->geom.y, c->geom.width, c->geom.height, 0);
printstatus(); printstatus();
if (c->isfullscreen) if (c->isfullscreen)