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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

2
dwl.c
View File

@ -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