rem: case 6:
add: case 7:
context: revertSettings(WMButton *button, InspectorPanel *panel){    WWindow *wwin = panel->inspected;    WApplication *wapp = wApplicationOf(wwin->main_window);    int i, n;    char *wm_instance = NULL;    char *wm_class = NULL;    int workspace, level;    if (panel->instRb && WMGetButtonSelected(panel->instRb) != 0)        wm_instance = wwin->wm_instance;    else if (panel->clsRb && WMGetButtonSelected(panel->clsRb) != 0)        wm_class = wwin->wm_class;    else if (panel->bothRb && WMGetButtonSelected(panel->bothRb) != 0) {        wm_instance = wwin->wm_instance;        wm_class = wwin->wm_class;    }    memset(&wwin->defined_user_flags, 0, sizeof(WWindowAttributes));    memset(&wwin->user_flags, 0, sizeof(WWindowAttributes));    memset(&wwin->client_flags, 0, sizeof(WWindowAttributes));    wWindowSetupInitialAttributes(wwin, &level, &workspace);    for (i=0; i < 10; i++) {	int flag = 0;		switch (i) {	 case 0:            flag = WFLAGP(wwin, no_titlebar);	    break;	 case 1:	    flag = WFLAGP(wwin, no_resizebar);	    break;	 case 2:	    flag = WFLAGP(wwin, no_close_button);	    break;	 case 3:	    flag = WFLAGP(wwin, no_miniaturize_button);	    break;	 case 4:            flag = WFLAGP(wwin, floating);	    break;	 case 5:            flag = WFLAGP(wwin, sunken);	    break;	 case 6:	    flag = WFLAGP(wwin, omnipresent);	    break;	 case 7:	    flag = WFLAGP(wwin, start_miniaturized);	    break;	 case 8:	    flag = WFLAGP(wwin, start_maximized!=0);	    break;	 case 9:	    flag = WFLAGP(wwin, skip_window_list);	    break;	}        WMSetButtonSelected(panel->attrChk[i], flag);    }    for (i=0; i < 8; i++) {	int flag = 0;		switch (i) {	 case 0:	    flag = WFLAGP(wwin, no_hide_others);	    break;	 case 1:	    flag = WFLAGP(wwin, no_bind_keys);	    break;	 case 2:	    flag = WFLAGP(wwin, no_bind_mouse);	    break;	 case 3:	    flag = WFLAGP(wwin, dont_move_off);	    break;	 case 4:	    flag = WFLAGP(wwin, no_focusable);	    break;	 case 5:	    flag = WFLAGP(wwin, dont_save_session);	    break;	 case 6:	    flag = WFLAGP(wwin, emulate_appicon);	    break;	 case 7:	    flag = WFLAGP(wwin, full_maximize);	    break;#ifdef XKB_BUTTON_HINT     case 8:        flag = WFLAGP(wwin, no_language_button);        break;#endif	}	WMSetButtonSelected(panel->moreChk[i], flag);    }    if (panel->appFrm && wapp) {	for (i=0; i < 2; i++) {	    int flag = 0;	    	    switch (i) {	     case 0:		flag = WFLAGP(wapp->main_window_desc, start_hidden);		break;	     case 1:		flag = WFLAGP(wapp->main_window_desc, no_appicon);		break;	    }	    WMSetButtonSelected(panel->appChk[i], flag);	}    }    WMSetButtonSelected(panel->alwChk, WFLAGP(wwin, always_user_icon));    showIconFor(WMWidgetScreen(panel->alwChk), panel, wm_instance, wm_class,		REVERT_TO_DEFAULT);    n = wDefaultGetStartWorkspace(wwin->screen_ptr, wm_instance, wm_class);    if (n >= 0 && n < wwin->screen_ptr->workspace_count) {	WMSetPopUpButtonSelectedItem(panel->wsP, n+1);    } else {	WMSetPopUpButtonSelectedItem(panel->wsP, 0);    }}