mirror of
https://git.suckless.org/dwm
synced 2024-12-27 03:16:32 +00:00
tag fix
This commit is contained in:
parent
a73ff905b0
commit
b9dee2c6f1
1 changed files with 2 additions and 4 deletions
6
dwm.c
6
dwm.c
|
@ -1502,12 +1502,10 @@ tagmon(const Arg *arg) {
|
|||
detach(c);
|
||||
detachstack(c);
|
||||
c->mon = m;
|
||||
c->tags = m->seltags; /* assign tags of target monitor */
|
||||
c->tags = m->tagset[m->seltags]; /* assign tags of target monitor */
|
||||
attach(c);
|
||||
attachstack(c);
|
||||
m->sel = c;
|
||||
for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snext);
|
||||
selmon->sel = c;
|
||||
focus(NULL);
|
||||
arrange();
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue