strdown the context name
This commit is contained in:
parent
014384dba6
commit
fede14d6a2
1 changed files with 2 additions and 0 deletions
|
@ -309,7 +309,9 @@ static gboolean mbind(char *buttonstr, char *contextstr, MouseAction mact,
|
|||
return FALSE;
|
||||
}
|
||||
|
||||
contextstr = g_ascii_strdown(contextstr, -1);
|
||||
context = g_quark_try_string(contextstr);
|
||||
g_free(contextstr);
|
||||
if (!context) {
|
||||
g_warning("invalid context");
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue