X-Git-Url: http://git.openbox.org/?p=dana%2Fopenbox.git;a=blobdiff_plain;f=openbox%2Fconfig.c;h=656ad3c9d8da82536fbee5f6f1d5fafca301a453;hp=93ba3cb48fa169c0de52aa4dd31709c26738aba1;hb=a4a5fc866db0ad56fb678740314573a06349ed7e;hpb=1ffc0021325e30db7bb7f8b2a17ca7f5546b3324 diff --git a/openbox/config.c b/openbox/config.c index 93ba3cb..656ad3c 100644 --- a/openbox/config.c +++ b/openbox/config.c @@ -491,9 +491,14 @@ static void parse_mouse(xmlNodePtr node, gpointer d) modcxstr = g_strdup(cxstr); /* make a copy to mutilate */ while (frame_next_context_from_string(modcxstr, &cx)) { if (!cx) { - g_message(_("Invalid context \"%s\" in mouse binding"), - cxstr); - break; + gchar *s = strchr(modcxstr, ' '); + if (s) { + *s = '\0'; + g_message(_("Invalid context \"%s\" in mouse binding"), + modcxstr); + *s = ' '; + } + continue; } nbut = obt_xml_find_node(n->children, "mousebind");