mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: border disappear too fast when in tagout animation
This commit is contained in:
parent
e374e9c530
commit
b003361240
1 changed files with 1 additions and 1 deletions
|
|
@ -489,7 +489,7 @@ struct ivec2 clip_to_hide(Client *c, struct wlr_box *clip_box) {
|
|||
offset.width = offsetw;
|
||||
offset.height = offseth;
|
||||
|
||||
if ((clip_box->width <= 0 || clip_box->height <= 0) &&
|
||||
if ((clip_box->width + bw <= 0 || clip_box->height + bw <= 0) &&
|
||||
(ISTILED(c) || c->animation.tagouting || c->animation.tagining)) {
|
||||
c->is_clip_to_hide = true;
|
||||
wlr_scene_node_set_enabled(&c->scene->node, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue