mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-03-23 05:35:53 -04:00
opt: not apply animationa action when xdg toplevel is initing
This commit is contained in:
parent
ccefa572e1
commit
2bd9d2d292
2 changed files with 12 additions and 0 deletions
|
|
@ -1182,6 +1182,10 @@ bool client_draw_frame(Client *c) {
|
|||
if (!c || !client_surface(c)->mapped)
|
||||
return false;
|
||||
|
||||
if (c->animation.running && client_is_initing(c)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!c->need_output_flush) {
|
||||
return client_apply_focus_opacity(c);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue