Don't handle deprecated click_to_focus values

This commit is contained in:
Bastien Dejean 2017-07-24 21:03:52 +02:00
parent 98ef99cfee
commit ecd6976ccb

View file

@ -215,7 +215,6 @@ bool parse_modifier_mask(char *s, uint16_t *m)
bool parse_button_index(char *s, int8_t *b)
{
bool v;
if (strcmp(s, "any") == 0) {
*b = XCB_BUTTON_INDEX_ANY;
return true;
@ -231,13 +230,6 @@ bool parse_button_index(char *s, int8_t *b)
} else if (strcmp(s, "none") == 0) {
*b = -1;
return true;
} else if (parse_bool(s, &v)) {
if (v) {
*b = XCB_BUTTON_INDEX_1;
} else {
*b = -1;
}
return true;
}
return false;
}