commit ebed67596d538f4839d4c2a5d5257b07ccb2e624
parent f83f1049db1175c65fb7685d26e301f96224d86b
Author: Sevz <leohdz172@protonmail.com>
Date: Thu, 10 Mar 2022 10:21:04 -0600
Merge pull request #187 from fauxmight/new-clients-printstatus
Newly launched or closed clients ALWAYS generate status update
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/dwl.c b/dwl.c
@@ -1315,6 +1315,7 @@ mapnotify(struct wl_listener *listener, void *data)
/* Set initial monitor, tags, floating status, and focus */
applyrules(c);
+ printstatus();
}
void
@@ -2291,6 +2292,7 @@ unmapnotify(struct wl_listener *listener, void *data)
setmon(c, NULL, 0);
wl_list_remove(&c->flink);
wl_list_remove(&c->slink);
+ printstatus();
}
void