mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
fix window name and class to match cwmrc(5); from Holger Mikolon - thanks!
ok oga@
This commit is contained in:
parent
85a53083cb
commit
2a5e1791d4
5
group.c
5
group.c
@ -188,12 +188,11 @@ group_make_autogroup(struct conf *conf, char *class, int no)
|
||||
|
||||
if ((p = strchr(class, ',')) == NULL) {
|
||||
aw->name = NULL;
|
||||
aw->class = xstrdup(class);
|
||||
} else {
|
||||
*(p++) = '\0';
|
||||
aw->name = xstrdup(class);
|
||||
aw->class = xstrdup(p);
|
||||
aw->name = xstrdup(p);
|
||||
}
|
||||
aw->class = xstrdup(class);
|
||||
aw->num = no;
|
||||
|
||||
TAILQ_INSERT_TAIL(&conf->autogroupq, aw, entry);
|
||||
|
Loading…
Reference in New Issue
Block a user