summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2013-04-30 21:12:20 +0000
committerokan <okan>2013-04-30 21:12:20 +0000
commit843f18aaee1550344b8521d95d952502e064c5f0 (patch)
treed5e021ff49f98521e97d996c12a4eda98e797492 /group.c
parent6f185bb03c3ba0928ba6254485c710103379bd1a (diff)
parent5ab3b373d39c333de5774a9503c450fc9fccd814 (diff)
downloadcwm-843f18aaee1550344b8521d95d952502e064c5f0.tar.gz
cwm-843f18aaee1550344b8521d95d952502e064c5f0.tar.xz
cwm-843f18aaee1550344b8521d95d952502e064c5f0.zip
cvsimport
Diffstat (limited to 'group.c')
-rw-r--r--group.c24
1 files changed, 1 insertions, 23 deletions
diff --git a/group.c b/group.c
index 34d0465..48dfc68 100644
--- a/group.c
+++ b/group.c
@@ -98,8 +98,7 @@ group_show(struct screen_ctx *sc, struct group_ctx *gc)
 {
 	struct client_ctx	*cc;
 	Window			*winlist;
-	u_int			 i;
-	int			 lastempty = -1;
+	int			 i, lastempty = -1;
 
 	gc->highstack = 0;
 	TAILQ_FOREACH(cc, &gc->clients, group_entry) {
@@ -163,27 +162,6 @@ group_init(struct screen_ctx *sc)
 	group_setactive(sc, 1);
 }
 
-void
-group_make_autogroup(struct conf *conf, char *val, int no)
-{
-	struct autogroupwin	*aw;
-	char			*p;
-
-	aw = xcalloc(1, sizeof(*aw));
-
-	if ((p = strchr(val, ',')) == NULL) {
-		aw->name = NULL;
-		aw->class = xstrdup(val);
-	} else {
-		*(p++) = '\0';
-		aw->name = xstrdup(val);
-		aw->class = xstrdup(p);
-	}
-	aw->num = no;
-
-	TAILQ_INSERT_TAIL(&conf->autogroupq, aw, entry);
-}
-
 static void
 group_setactive(struct screen_ctx *sc, long idx)
 {