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 4276410a3d
commit 40db9c88ea
No known key found for this signature in database
GPG Key ID: E538897EE11B9624

1
dwl.c
View File

@ -1232,7 +1232,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)