diff options
author | okan <okan> | 2019-03-07 13:24:10 +0000 |
---|---|---|
committer | okan <okan> | 2019-03-07 13:24:10 +0000 |
commit | 823566a65309c047695f5f2b22a93e8f43a54396 (patch) | |
tree | db7eac23c6b8f38a82f0da45111ef2bea815adbb | |
parent | aa79351d2e85e04add3ad684f15528f2efcba46a (diff) | |
download | cwm-823566a65309c047695f5f2b22a93e8f43a54396.tar.gz cwm-823566a65309c047695f5f2b22a93e8f43a54396.tar.xz cwm-823566a65309c047695f5f2b22a93e8f43a54396.zip |
zip extra lines
-rw-r--r-- | group.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/group.c b/group.c index cf9022c..bdec108 100644 --- a/group.c +++ b/group.c @@ -78,7 +78,6 @@ group_show(struct group_ctx *gc) (cc->flags & CLIENT_HIDDEN)) client_show(cc); } - group_restack(gc); group_setactive(gc); } @@ -132,7 +131,6 @@ group_init(struct screen_ctx *sc, int num, const char *name) gc->sc = sc; gc->name = xstrdup(name); gc->num = num; - TAILQ_INSERT_TAIL(&sc->groupq, gc, entry); if (num == 1) @@ -172,14 +170,13 @@ group_toggle_membership(struct client_ctx *cc) struct screen_ctx *sc = cc->sc; struct group_ctx *gc = sc->group_active; - if (gc == cc->gc) { + if (cc->gc == gc) { group_assign(NULL, cc); cc->flags |= CLIENT_UNGROUP; } else { group_assign(gc, cc); cc->flags |= CLIENT_GROUP; } - client_draw_border(cc); } @@ -292,7 +289,6 @@ group_cycle(struct screen_ctx *sc, int flags) else if (!group_holds_only_hidden(newgc)) group_hide(newgc); } - if (showgroup == NULL) return; |