]> Dogcows Code - chaz/openbox/commitdiff
strdown the context name
authorDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 00:27:07 +0000 (00:27 +0000)
committerDana Jansens <danakj@orodu.net>
Wed, 26 Mar 2003 00:27:07 +0000 (00:27 +0000)
plugins/mouse/mouse.c

index 372417d3186a7a12ca9734fc9045fc2eabedd88f..e6c9b71332a886aed991bf7952d105f36b33d2e9 100644 (file)
@@ -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;
This page took 0.021731 seconds and 4 git commands to generate.