mirror of
https://github.com/mintycube/dwm.git
synced 2024-10-22 14:05:45 +02:00
switchtag + pertag conflict: the view would not actually change ref. #355
This commit is contained in:
parent
eca757eeea
commit
6ef80c09ff
5
dwm.c
5
dwm.c
@ -965,12 +965,7 @@ applyrules(Client *c)
|
|||||||
if (r->switchtag == 3 || r->switchtag == 4)
|
if (r->switchtag == 3 || r->switchtag == 4)
|
||||||
c->switchtag = c->mon->tagset[c->mon->seltags];
|
c->switchtag = c->mon->tagset[c->mon->seltags];
|
||||||
if (r->switchtag == 1 || r->switchtag == 3) {
|
if (r->switchtag == 1 || r->switchtag == 3) {
|
||||||
#if PERTAG_PATCH
|
|
||||||
pertagview(&((Arg) { .ui = newtagset }));
|
|
||||||
arrange(c->mon);
|
|
||||||
#else
|
|
||||||
view(&((Arg) { .ui = newtagset }));
|
view(&((Arg) { .ui = newtagset }));
|
||||||
#endif // PERTAG_PATCH
|
|
||||||
} else {
|
} else {
|
||||||
#if TAGSYNC_PATCH
|
#if TAGSYNC_PATCH
|
||||||
for (m = mons; m; m = m->next)
|
for (m = mons; m; m = m->next)
|
||||||
|
Loading…
Reference in New Issue
Block a user