rem: if (scr->menu_title_pixel[0]!=scr->white_pixel && scr->menu_title_pixel[0]!=scr->black_pixel) { wFreeColor(scr, scr->menu_title_pixel[0]); }  scr->menu_title_pixel[0] = color->pixel; XSetForeground(dpy, scr->menu_title_gc, color->pixel);
add: if (scr->menu_title_color[0]) WMReleaseColor(scr->menu_title_color[0]);  scr->menu_title_color[0] = WMCreateRGBColor(scr->wmscreen, color->red, color->green, color->blue, True);  wFreeColor(scr, color->pixel);
context: setMenuTitleColor(WScreen *scr, WDefaultEntry *entry, XColor *color, long index){    if (scr->menu_title_pixel[0]!=scr->white_pixel &&            scr->menu_title_pixel[0]!=scr->black_pixel) {            wFreeColor(scr, scr->menu_title_pixel[0]);    }        scr->menu_title_pixel[0] = color->pixel;    XSetForeground(dpy, scr->menu_title_gc, color->pixel);        return REFRESH_MENU_TITLE_COLOR;}