projects
/
suckless
/
dwm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a73ff90
)
tag fix
author
Anselm R Garbe
<garbeam@gmail.com>
Fri, 26 Jun 2009 15:41:27 +0000
(16:41 +0100)
committer
Anselm R Garbe
<garbeam@gmail.com>
Fri, 26 Jun 2009 15:41:27 +0000
(16:41 +0100)
dwm.c
patch
|
blob
|
history
diff --git
a/dwm.c
b/dwm.c
index 26ec20b34f90cf2b67bb2d0e030c793b461c0024..2588153537cea507777067be764070d12aec3673 100644
(file)
--- a/
dwm.c
+++ b/
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;
}