mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
autogroup case insensitive
This commit is contained in:
parent
b1644aa96b
commit
a6cae02936
4
group.c
4
group.c
@ -483,9 +483,9 @@ group_autogroup(struct client_ctx *cc)
|
|||||||
XFree(grpno);
|
XFree(grpno);
|
||||||
} else {
|
} else {
|
||||||
TAILQ_FOREACH(aw, &Conf.autogroupq, entry) {
|
TAILQ_FOREACH(aw, &Conf.autogroupq, entry) {
|
||||||
if (strcmp(aw->class, cc->app_class) == 0 &&
|
if (strcasecmp(aw->class, cc->app_class) == 0 &&
|
||||||
(aw->name == NULL ||
|
(aw->name == NULL ||
|
||||||
strcmp(aw->name, cc->app_name) == 0)) {
|
strcasecmp(aw->name, cc->app_name) == 0)) {
|
||||||
no = aw->num;
|
no = aw->num;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user