mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-05 06:47:12 -04:00
isolating spawn to only current pressed tag in comboview
This commit is contained in:
parent
ea4118fa45
commit
9fe6d09048
1 changed files with 3 additions and 0 deletions
|
|
@ -834,7 +834,10 @@ int comboview_spawn_on_empty(const Arg *arg) {
|
||||||
view(&(Arg){.ui = newtags}, false);
|
view(&(Arg){.ui = newtags}, false);
|
||||||
}
|
}
|
||||||
if (is_empty) {
|
if (is_empty) {
|
||||||
|
unsigned int old = selmon->tagset[selmon->seltags];
|
||||||
|
selmon->tagset[selmon->seltags] = newtags;
|
||||||
spawn(arg);
|
spawn(arg);
|
||||||
|
selmon->tagset[selmon->seltags] = old;
|
||||||
}
|
}
|
||||||
|
|
||||||
printstatus();
|
printstatus();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue