mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-10-29 05:40:21 -04:00
opt: correct border color before snap the fadeout buffer
This commit is contained in:
parent
cc052f57a7
commit
c3e258c7b0
1 changed files with 1 additions and 0 deletions
1
maomao.c
1
maomao.c
|
|
@ -5666,6 +5666,7 @@ void init_fadeout_client(Client *c) {
|
|||
Client *fadeout_cient = ecalloc(1, sizeof(*fadeout_cient));
|
||||
|
||||
wlr_scene_node_set_enabled(&c->scene->node, true);
|
||||
client_set_border_color(c,bordercolor);
|
||||
fadeout_cient->scene =
|
||||
wlr_scene_tree_snapshot(&c->scene->node, layers[LyrFadeOut]);
|
||||
wlr_scene_node_set_enabled(&c->scene->node, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue