partial fix of combo and pertag incompatibility
This commit is contained in:
parent
82b596bfdf
commit
dddd59fc7f
6
dwm.c
6
dwm.c
@ -351,14 +351,14 @@ comboview(const Arg *arg) {
|
|||||||
unsigned newtags = arg->ui & TAGMASK;
|
unsigned newtags = arg->ui & TAGMASK;
|
||||||
if (combo) {
|
if (combo) {
|
||||||
selmon->tagset[selmon->seltags] |= newtags;
|
selmon->tagset[selmon->seltags] |= newtags;
|
||||||
|
focus(NULL);
|
||||||
|
arrange(selmon);
|
||||||
} else {
|
} else {
|
||||||
selmon->seltags ^= 1; /*toggle tagset*/
|
view(arg); /* <---- dirty hack */
|
||||||
combo = 1;
|
combo = 1;
|
||||||
if (newtags)
|
if (newtags)
|
||||||
selmon->tagset[selmon->seltags] = newtags;
|
selmon->tagset[selmon->seltags] = newtags;
|
||||||
}
|
}
|
||||||
focus(NULL);
|
|
||||||
arrange(selmon);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user