diff --git a/dwm.c b/dwm.c index 9c25ec0..4916de9 100644 --- a/dwm.c +++ b/dwm.c @@ -351,14 +351,14 @@ comboview(const Arg *arg) { unsigned newtags = arg->ui & TAGMASK; if (combo) { selmon->tagset[selmon->seltags] |= newtags; + focus(NULL); + arrange(selmon); } else { - selmon->seltags ^= 1; /*toggle tagset*/ + view(arg); /* <---- dirty hack */ combo = 1; if (newtags) selmon->tagset[selmon->seltags] = newtags; } - focus(NULL); - arrange(selmon); } void