make group_init work like other *_init's

This commit is contained in:
okan
2014-10-08 12:48:51 +00:00
parent e9dbd150ea
commit 836c9f49d6
3 changed files with 17 additions and 16 deletions

View File

@@ -202,9 +202,9 @@ TAILQ_HEAD(client_ctx_q, client_ctx);
struct group_ctx {
TAILQ_ENTRY(group_ctx) entry;
struct screen_ctx *sc;
struct client_ctx_q clientq;
char *name;
int num;
struct client_ctx_q clientq;
};
TAILQ_HEAD(group_ctx_q, group_ctx);
@@ -410,7 +410,7 @@ void group_hide(struct group_ctx *);
void group_hidetoggle(struct screen_ctx *, int);
int group_holds_only_hidden(struct group_ctx *);
int group_holds_only_sticky(struct group_ctx *);
void group_init(struct screen_ctx *);
void group_init(struct screen_ctx *, int);
void group_movetogroup(struct client_ctx *, int);
void group_only(struct screen_ctx *, int);
void group_show(struct group_ctx *);