summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2009-06-25 11:17:42 +0100
committerAnselm R Garbe <garbeam@gmail.com>2009-06-25 11:17:42 +0100
commita73ff905b04a5f1dab6e0aface03317a81528a95 (patch)
tree410dbe45de220ae4980d13bc1dbbd037036661ed
parente3f0445df1dcdd34189c9d48cbad67dd32764575 (diff)
typo fix
-rw-r--r--dwm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dwm.c b/dwm.c
index 6459512..26ec20b 100644
--- a/dwm.c
+++ b/dwm.c
@@ -1502,7 +1502,7 @@ tagmon(const Arg *arg) {
detach(c);
detachstack(c);
c->mon = m;
- c->tags = selmon->seltags; /* assign tags of target monitor */
+ c->tags = m->seltags; /* assign tags of target monitor */
attach(c);
attachstack(c);
m->sel = c;