ttag fix - dwm - [fork] customized build of dwm, the dynamic window manager | |
git clone git://src.adamsgaard.dk/dwm | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit b9dee2c6f172478b7a652cdf9d074ee0bd9acddc | |
parent a73ff905b04a5f1dab6e0aface03317a81528a95 | |
Author: Anselm R Garbe <[email protected]> | |
Date: Fri, 26 Jun 2009 16:41:27 +0100 | |
ttag fix | |
Diffstat: | |
M dwm.c | 6 ++---- | |
1 file changed, 2 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/dwm.c b/dwm.c | |
t@@ -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 tar… | |
attach(c); | |
attachstack(c); | |
- m->sel = c; | |
- for(c = selmon->stack; c && !ISVISIBLE(c); c = c->snex… | |
- selmon->sel = c; | |
+ focus(NULL); | |
arrange(); | |
break; | |
} |