summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSevz <leohdz172@protonmail.com>2022-03-10 10:21:04 -0600
committerGitHub <noreply@github.com>2022-03-10 10:21:04 -0600
commitebed67596d538f4839d4c2a5d5257b07ccb2e624 (patch)
treed009a373de691f0feaa50e8e02149d3b32be1033
parentf83f1049db1175c65fb7685d26e301f96224d86b (diff)
parent317175da08aedf80f0bfaf71849feea531872a88 (diff)
Merge pull request #187 from fauxmight/new-clients-printstatus
Newly launched or closed clients ALWAYS generate status update
-rw-r--r--dwl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dwl.c b/dwl.c
index 995c77c..0619ff1 100644
--- 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