rem: if (submenu->flags.mapped && !submenu->flags.buttoned) if (wPreferences.align_menus) { wMenuMove(submenu, x + MENUW(menu), y, submenus); } else { wMenuMove(submenu, x+ MENUW(menu), y + submenu->entry_height*menu->selected_entry, submenus); }
add: if (submenu->flags.mapped && !submenu->flags.buttoned) { if (wPreferences.align_menus) { wMenuMove(submenu, x + MENUW(menu), y, submenus); } else { wMenuMove(submenu, x+ MENUW(menu), y + submenu->entry_height*menu->selected_entry, submenus); } }
context: wMenuMove(WMenu *menu, int x, int y, int submenus){    WMenu *submenu;    int i;        if (!menu) return;        menu->frame_x = x;    menu->frame_y = y;    XMoveWindow(dpy, menu->frame->core->window, x, y);          if (submenus>0 && menu->selected_entry>=0) {	i = menu->entries[menu->selected_entry]->cascade;		if (i>=0 && menu->cascades) {	    submenu = menu->cascades[i];	    if (submenu->flags.mapped && !submenu->flags.buttoned)	      if (wPreferences.align_menus) {		  wMenuMove(submenu, x + MENUW(menu), y, submenus);	      } else {		  wMenuMove(submenu, x+ MENUW(menu),			    y + submenu->entry_height*menu->selected_entry,			    submenus);	      }	}    }    if (submenus<0 && menu->parent!=NULL && menu->parent->flags.mapped &&	!menu->parent->flags.buttoned) {	if (wPreferences.align_menus) {	    wMenuMove(menu->parent, x - MENUW(menu->parent), y, submenus);	} else {	    wMenuMove(menu->parent, x - MENUW(menu->parent), menu->frame_y		      - menu->parent->entry_height*menu->parent->selected_entry,		      submenus);	}		      }}