Merge pull request #43 from yaocccc/main

fix: fix spawn_on_empty not based on the selmon
This commit is contained in:
DreamMaoMao 2025-04-22 18:15:26 +08:00 committed by GitHub
commit 162c958648
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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;
}