Merge pull request #187 from fauxmight/new-clients-printstatus

Newly launched or closed clients ALWAYS generate status update
This commit is contained in:
Sevz 2022-03-10 10:21:04 -06:00 committed by GitHub
commit ebed67596d
Failed to generate hash of commit

2
dwl.c
View file

@ -1315,6 +1315,7 @@ mapnotify(struct wl_listener *listener, void *data)
/* Set initial monitor, tags, floating status, and focus */ /* Set initial monitor, tags, floating status, and focus */
applyrules(c); applyrules(c);
printstatus();
} }
void void
@ -2291,6 +2292,7 @@ unmapnotify(struct wl_listener *listener, void *data)
setmon(c, NULL, 0); setmon(c, NULL, 0);
wl_list_remove(&c->flink); wl_list_remove(&c->flink);
wl_list_remove(&c->slink); wl_list_remove(&c->slink);
printstatus();
} }
void void