core: remove unnecessary win_check_fade_finished

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-03-27 15:38:36 +00:00
parent 6344ae2a46
commit 1f80e547bc
3 changed files with 0 additions and 18 deletions

View File

@ -1039,15 +1039,6 @@ void paint_all(session_t *ps, win *const t, bool ignore_damage) {
// Free the paint region
pixman_region32_fini(&region);
// Check if fading is finished on all painted windows
{
win *pprev = NULL;
for (win *w = t; w; w = pprev) {
pprev = w->prev_trans;
win_check_fade_finished(ps, &w);
}
}
}
/**