cvsimport

This commit is contained in:
okan 2011-12-29 20:48:38 +00:00
commit 1603d18560

View File

@ -222,11 +222,13 @@ group_movetogroup(struct client_ctx *cc, int idx)
err(1, "group_movetogroup: index out of range (%d)", idx);
gc = &sc->groups[idx];
if (cc->group == gc)
return;
if (gc->hidden) {
client_hide(cc);
gc->nhidden++;
}
group_add(&sc->groups[idx], cc);
group_add(gc, cc);
}
/*