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

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