aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-21 13:28:44 -0600
committerLeonardo Hernández Hernández <leohdz172@protonmail.com>2022-03-23 18:22:39 -0600
commit40db9c88eaa4c32832c0bf7f7da56b8b73598519 (patch)
tree97dbdb7dac61e514e765cc0361346c863398cc3f
parent4276410a3d575aad3f90ff81406382824389db28 (diff)
remove a useless resize in mapnotify()
applyrules() calls setmon() which calls resize()
-rw-r--r--dwl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dwl.c b/dwl.c
index bac2e8c..c6b8ab9 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1232,7 +1232,6 @@ mapnotify(struct wl_listener *listener, void *data)
/* Set initial monitor, tags, floating status, and focus */
applyrules(c);
- resize(c, c->geom.x, c->geom.y, c->geom.width, c->geom.height, 0);
printstatus();
if (c->isfullscreen)