mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
zip extra lines
This commit is contained in:
parent
aa79351d2e
commit
823566a653
6
group.c
6
group.c
@ -78,7 +78,6 @@ group_show(struct group_ctx *gc)
|
|||||||
(cc->flags & CLIENT_HIDDEN))
|
(cc->flags & CLIENT_HIDDEN))
|
||||||
client_show(cc);
|
client_show(cc);
|
||||||
}
|
}
|
||||||
|
|
||||||
group_restack(gc);
|
group_restack(gc);
|
||||||
group_setactive(gc);
|
group_setactive(gc);
|
||||||
}
|
}
|
||||||
@ -132,7 +131,6 @@ group_init(struct screen_ctx *sc, int num, const char *name)
|
|||||||
gc->sc = sc;
|
gc->sc = sc;
|
||||||
gc->name = xstrdup(name);
|
gc->name = xstrdup(name);
|
||||||
gc->num = num;
|
gc->num = num;
|
||||||
|
|
||||||
TAILQ_INSERT_TAIL(&sc->groupq, gc, entry);
|
TAILQ_INSERT_TAIL(&sc->groupq, gc, entry);
|
||||||
|
|
||||||
if (num == 1)
|
if (num == 1)
|
||||||
@ -172,14 +170,13 @@ group_toggle_membership(struct client_ctx *cc)
|
|||||||
struct screen_ctx *sc = cc->sc;
|
struct screen_ctx *sc = cc->sc;
|
||||||
struct group_ctx *gc = sc->group_active;
|
struct group_ctx *gc = sc->group_active;
|
||||||
|
|
||||||
if (gc == cc->gc) {
|
if (cc->gc == gc) {
|
||||||
group_assign(NULL, cc);
|
group_assign(NULL, cc);
|
||||||
cc->flags |= CLIENT_UNGROUP;
|
cc->flags |= CLIENT_UNGROUP;
|
||||||
} else {
|
} else {
|
||||||
group_assign(gc, cc);
|
group_assign(gc, cc);
|
||||||
cc->flags |= CLIENT_GROUP;
|
cc->flags |= CLIENT_GROUP;
|
||||||
}
|
}
|
||||||
|
|
||||||
client_draw_border(cc);
|
client_draw_border(cc);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -292,7 +289,6 @@ group_cycle(struct screen_ctx *sc, int flags)
|
|||||||
else if (!group_holds_only_hidden(newgc))
|
else if (!group_holds_only_hidden(newgc))
|
||||||
group_hide(newgc);
|
group_hide(newgc);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (showgroup == NULL)
|
if (showgroup == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user