summaryrefslogtreecommitdiff
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-21 14:21:33 -0600
commit2bc01debdcf2c6cf13583c6a67f8a6a824446408 (patch)
treefe4adb58e45a48da302a099f0d7abd9cb4853c12
parentc50f187c1f784c010b1261848fade72b9401b28f (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 74f8549..0b82e42 100644
--- a/dwl.c
+++ b/dwl.c
@@ -1359,7 +1359,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)