mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
Merge pull request #43 from yaocccc/main
fix: fix spawn_on_empty not based on the selmon
This commit is contained in:
commit
162c958648
1 changed files with 1 additions and 1 deletions
|
|
@ -5692,7 +5692,7 @@ void spawn_on_empty(const Arg *arg) {
|
||||||
Client *c;
|
Client *c;
|
||||||
|
|
||||||
wl_list_for_each(c, &clients, link) {
|
wl_list_for_each(c, &clients, link) {
|
||||||
if (arg->ui & c->tags) {
|
if (arg->ui & c->tags && c->mon == selmon) {
|
||||||
is_empty = false;
|
is_empty = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue