rem: return 2; else if (strcasecmp(str, "button4")==0 || strcasecmp(str, "button5")==0) { wwarning(_("mouse button %s not supported by WPrefs."), str); return -2;
add: return 3; else if (strcasecmp(str, "button4")==0) return 4; else if (strcasecmp(str, "button5")==0) { return 5;
context: getbutton(char *str){    if (!str)	return -2;    if (strcasecmp(str, "left")==0)	return 0;    else if (strcasecmp(str, "middle")==0)	return 1;    else if (strcasecmp(str, "right")==0)	return 2;    else if (strcasecmp(str, "button1")==0)	return 0;    else if (strcasecmp(str, "button2")==0)	return 1;    else if (strcasecmp(str, "button3")==0)	return 2;    else if (strcasecmp(str, "button4")==0	     || strcasecmp(str, "button5")==0) {	wwarning(_("mouse button %s not supported by WPrefs."), str);	return -2;    } else {	return -1;    }}