Disable animations for backrounds and panels

This commit is contained in:
Kevin Lange 2014-04-01 21:22:58 -07:00
parent 811747b958
commit 3140c8e4b2

View File

@ -487,7 +487,7 @@ void blit_window_cairo(server_window_t * window, int32_t left, int32_t top) {
cairo_pattern_set_filter (cairo_get_source (cr), CAIRO_FILTER_FAST);
}
if (window->anim_mode) {
if (window->anim_mode && (window->z != 0xFFFF && window->z != 0)) {
int frame = tick_count - window->anim_start;
if (frame >= animation_lengths[window->anim_mode]) {