From: Dana Jansens Date: Wed, 26 Mar 2003 00:27:07 +0000 (+0000) Subject: strdown the context name X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=fede14d6a25abe32e9bdf81a820d5ab855e0d5a3;p=chaz%2Fopenbox strdown the context name --- diff --git a/plugins/mouse/mouse.c b/plugins/mouse/mouse.c index 372417d3..e6c9b713 100644 --- a/plugins/mouse/mouse.c +++ b/plugins/mouse/mouse.c @@ -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;