mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -05:00
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
@ -205,8 +205,7 @@ meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor,
|
|||||||
priv->does_full_damage = TRUE;
|
priv->does_full_damage = TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Drop damage event for unredirected windows */
|
if (!is_visible (actor))
|
||||||
if (priv->unredirected)
|
|
||||||
return;
|
return;
|
||||||
|
|
||||||
cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height);
|
cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height);
|
||||||
|
Loading…
Reference in New Issue
Block a user