rem: wMenuSetEnabled(menu, entry->order, True);
add: inside = 0;
context: exitCommand(WMenu *menu, WMenuEntry *entry){    /* prevent reentrant calls */    wMenuSetEnabled(menu, entry->order, False);    if ((int)entry->clientdata==M_QUICK	|| wMessageDialog(menu->frame->screen_ptr, _("Exit"),			  _("Exit window manager?"), 			  _("Exit"), _("Cancel"), NULL)==WAPRDefault) {#ifdef DEBUG	printf("Exiting WindowMaker.\n");#endif	wScreenSaveState(menu->frame->screen_ptr);		RestoreDesktop(menu->frame->screen_ptr);		ExecExitScript();	exit(0);    }    wMenuSetEnabled(menu, entry->order, True);}