diff --git a/src/dispatch/bind_define.h b/src/dispatch/bind_define.h index 1f4af19f..b1b234bc 100644 --- a/src/dispatch/bind_define.h +++ b/src/dispatch/bind_define.h @@ -834,7 +834,10 @@ int comboview_spawn_on_empty(const Arg *arg) { view(&(Arg){.ui = newtags}, false); } if (is_empty) { + unsigned int old = selmon->tagset[selmon->seltags]; + selmon->tagset[selmon->seltags] = newtags; spawn(arg); + selmon->tagset[selmon->seltags] = old; } printstatus();