diff --git a/src/compositor/meta-surface-actor-x11.c b/src/compositor/meta-surface-actor-x11.c index ac72fb796..73ba69e82 100644 --- a/src/compositor/meta-surface-actor-x11.c +++ b/src/compositor/meta-surface-actor-x11.c @@ -179,15 +179,6 @@ is_visible (MetaSurfaceActorX11 *self) return (priv->pixmap != None) && !priv->unredirected; } -static void -damage_area (MetaSurfaceActorX11 *self, - int x, int y, int width, int height) -{ - MetaSurfaceActorX11Private *priv = meta_surface_actor_x11_get_instance_private (self); - - cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height); -} - static void meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor, int x, int y, int width, int height) @@ -218,7 +209,7 @@ meta_surface_actor_x11_process_damage (MetaSurfaceActor *actor, if (priv->unredirected) return; - damage_area (self, x, y, width, height); + cogl_texture_pixmap_x11_update_area (priv->texture, x, y, width, height); } static void