Skip to content

Commit

Permalink
cvsimport
Browse files Browse the repository at this point in the history
  • Loading branch information
okan committed Dec 29, 2011
2 parents 96ebac8 + fd9b83a commit 1603d18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion group.c
Expand Up @@ -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);
}

/*
Expand Down

0 comments on commit 1603d18

Please sign in to comment.