mirror of
https://github.com/vale981/bspwm
synced 2025-03-06 02:01:42 -05:00
Only call arrange
when needed
This commit is contained in:
parent
b87737565b
commit
ef3913e302
1 changed files with 5 additions and 0 deletions
|
@ -528,22 +528,27 @@ void set_setting(char *name, char *value, char *rsp)
|
|||
enable_motion_recorder();
|
||||
focus_follows_pointer = b;
|
||||
}
|
||||
return;
|
||||
} else if (strcmp(name, "adaptative_raise") == 0) {
|
||||
bool b;
|
||||
if (parse_bool(value, &b))
|
||||
adaptative_raise = b;
|
||||
return;
|
||||
} else if (strcmp(name, "apply_shadow_property") == 0) {
|
||||
bool b;
|
||||
if (parse_bool(value, &b))
|
||||
apply_shadow_property = b;
|
||||
return;
|
||||
} else if (strcmp(name, "auto_alternate") == 0) {
|
||||
bool b;
|
||||
if (parse_bool(value, &b))
|
||||
auto_alternate = b;
|
||||
return;
|
||||
} else if (strcmp(name, "focus_by_distance") == 0) {
|
||||
bool b;
|
||||
if (parse_bool(value, &b))
|
||||
focus_by_distance = b;
|
||||
return;
|
||||
} else if (strcmp(name, "wm_name") == 0) {
|
||||
strncpy(wm_name, value, sizeof(wm_name));
|
||||
ewmh_update_wm_name();
|
||||
|
|
Loading…
Add table
Reference in a new issue