From 2bc01debdcf2c6cf13583c6a67f8a6a824446408 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Leonardo=20Hern=C3=A1ndez=20Hern=C3=A1ndez?=
 <leohdz172@protonmail.com>
Date: Mon, 21 Mar 2022 13:28:44 -0600
Subject: [PATCH] remove a useless resize in mapnotify()

applyrules() calls setmon() which calls resize()
---
 dwl.c | 1 -
 1 file changed, 1 deletion(-)

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)