hotfix
Anselm R Garbe anselm@garbe.us
Tue, 30 Jun 2009 19:45:25 +0100
1 files changed,
3 insertions(+),
3 deletions(-)
jump to
M
dwm.c
→
dwm.c
@@ -600,14 +600,14 @@ }
void detachstack(Client *c) { - Client **tc; + Client **tc, *t; for(tc = &c->mon->stack; *tc && *tc != c; tc = &(*tc)->snext); *tc = c->snext; if(c == c->mon->sel) { - for(*tc = c->mon->stack; *tc && !ISVISIBLE((*tc)); *tc = (*tc)->snext); - c->mon->sel = *tc; + for(t = c->mon->stack; t && !ISVISIBLE(t); t = t->snext); + c->mon->sel = t; } }