changeset: 1423:b1845c3d6e4f
tag: tip
user: Anselm R Garbe <garbeam_AT_gmail.com>
date: Fri Jun 26 16:41:27 2009 +0100
files: dwm.c
description:
tag fix
diff -r f6514f1cdddf -r b1845c3d6e4f dwm.c
--- a/dwm.c Thu Jun 25 11:17:42 2009 +0100
+++ b/dwm.c Fri Jun 26 16:41:27 2009 +0100
@@ -1502,12 +1502,10 @@
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;
}
Received on Fri Jun 26 2009 - 15:41:57 UTC
This archive was generated by hypermail 2.2.0 : Fri Jun 26 2009 - 15:48:05 UTC