mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-07-08 00:07:26 -04:00
opt: Avoid unnecessary animation calculations
This commit is contained in:
parent
d2ce331cf2
commit
3909b7baea
2 changed files with 237 additions and 423 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -2149,7 +2149,9 @@ int32_t dwindle_set_split_direction(Client *c, bool istoggle, bool horizontal) {
|
||||||
leaf->custom_leaf_split_h = false;
|
leaf->custom_leaf_split_h = false;
|
||||||
}
|
}
|
||||||
bool hit_no_border = check_hit_no_border(c);
|
bool hit_no_border = check_hit_no_border(c);
|
||||||
client_draw_split_border(c, hit_no_border);
|
|
||||||
|
struct ivec2 offsets = compute_edge_offsets(c);
|
||||||
|
client_draw_split_border(c, hit_no_border, offsets);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue