rem: tmp = WMGetTextFieldText(panel->threT); if (strlen(tmp)==0) {
add: if (!WMGetUDBoolForKey(udb, "NoXSetStuff")) { tmp = WMGetTextFieldText(panel->threT); if (strlen(tmp)==0) { free(tmp); tmp = wstrdup("4"); }  sprintf(buffer, XSET" m %i/%i %s\n", (int)(panel->acceleration*10), 10, tmp); storeCommandInScript(XSET" m", buffer);
context: storeData(_Panel *panel){    char buffer[64];    int i;    char *tmp, *p;    static char *button[3] = {"left", "middle", "right"};    tmp = WMGetTextFieldText(panel->threT);    if (strlen(tmp)==0) {	free(tmp);	tmp = wstrdup("0");    }    sprintf(buffer, XSET" m %i/%i %s\n", (int)(panel->acceleration*10),10, tmp);    storeCommandInScript(XSET" m", buffer);    free(tmp);        for (i=0; i<5; i++) {	if (WMGetButtonSelected(panel->ddelaB[i]))	    break;    }    SetIntegerForKey(DELAY(i), "DoubleClickTime");    SetBoolForKey(WMGetButtonSelected(panel->disaB), "DisableWSMouseActions");        for (i=0; i<3; i++) {	if (WMGetButtonSelected(panel->amb[i]))	    break;    }    if (i<3)	SetStringForKey(button[i], "ApplicationMenuMouseButton");        for (i=0; i<3; i++) {	if (WMGetButtonSelected(panel->lmb[i]))	    break;    }    if (i<3)	SetStringForKey(button[i], "WindowListMouseButton");        for (i=0; i<3; i++) {	if (WMGetButtonSelected(panel->smb[i]))	    break;    }    if (i<3)	SetStringForKey(button[i], "SelectWindowsMouseButton");        tmp = WMGetPopUpButtonItem(panel->grabP, 			       WMGetPopUpButtonSelectedItem(panel->grabP));    tmp = wstrdup(tmp);    p = strchr(tmp, ' ');    *p = 0;    SetStringForKey(tmp, "ModifierKey");    free(tmp);}