surface-actor-x11: Use the existing check for "visibility"
Instead of doing our own thing here.
This commit is contained in:
parent
952e9c52bc
commit
e73c46ce03
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue