mirror of
https://codeberg.org/dwl/dwl.git
synced 2024-12-26 03:06:30 +00:00
Newly launched or closed clients ALWAYS generate status update
Prior to this change, if a client whose tag(s) are not currently selected is launched or killed, no update to status was printed and status bars being fed by printstatus() did not update newly active or newly inactive (but unselected) tags.
This commit is contained in:
parent
f85d8e79d0
commit
317175da08
1 changed files with 2 additions and 0 deletions
2
dwl.c
2
dwl.c
|
@ -1320,6 +1320,7 @@ mapnotify(struct wl_listener *listener, void *data)
|
|||
|
||||
/* Set initial monitor, tags, floating status, and focus */
|
||||
applyrules(c);
|
||||
printstatus();
|
||||
}
|
||||
|
||||
void
|
||||
|
@ -2290,6 +2291,7 @@ unmapnotify(struct wl_listener *listener, void *data)
|
|||
setmon(c, NULL, 0);
|
||||
wl_list_remove(&c->flink);
|
||||
wl_list_remove(&c->slink);
|
||||
printstatus();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue