core: remove unnecessary win_check_fade_finished
Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -595,8 +595,6 @@ static win *paint_preprocess(session_t *ps, bool *fade_running) {
|
||||
reg_ignore_valid = reg_ignore_valid && w->reg_ignore_valid;
|
||||
w->reg_ignore_valid = true;
|
||||
|
||||
win_check_fade_finished(ps, &w);
|
||||
|
||||
// Avoid setting w->to_paint if w is freed
|
||||
if (w) {
|
||||
w->to_paint = to_paint;
|
||||
|
Reference in New Issue
Block a user