1
0
Fork 0

surface-actor-x11: Use the existing check for "visibility"

Instead of doing our own thing here.
This commit is contained in:
Jasper St. Pierre 2014-08-21 18:30:35 -04:00
parent 952e9c52bc
commit e73c46ce03

View file

@ -205,8 +205,7 @@ meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor,
priv->does_full_damage = TRUE;
}
/* Drop damage event for unredirected windows */
if (priv->unredirected)
if (!is_visible (actor))
return;
cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height);