fix: fix spawn_on_empty not based on the selmon

This commit is contained in:
chenyc 2025-04-22 17:21:31 +08:00
parent 5f048c4c4e
commit ae5d6f8ea1

View file

@ -5692,7 +5692,7 @@ void spawn_on_empty(const Arg *arg) {
Client *c;
wl_list_for_each(c, &clients, link) {
if (arg->ui & c->tags) {
if (arg->ui & c->tags && c->mon == selmon) {
is_empty = false;
break;
}