mirror of
https://github.com/vale981/bspwm
synced 2025-03-05 09:51:38 -05:00
Don't handle deprecated click_to_focus
values
This commit is contained in:
parent
98ef99cfee
commit
ecd6976ccb
1 changed files with 0 additions and 8 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue