window-actor: Fix build

This commit is contained in:
Jasper St. Pierre 2013-08-29 17:16:15 -04:00
parent 705978405b
commit 1987cbb764

View File

@ -2168,13 +2168,17 @@ meta_window_actor_process_wayland_damage (MetaWindowActor *self,
int height) int height)
{ {
MetaWindowActorPrivate *priv = self->priv; MetaWindowActorPrivate *priv = self->priv;
gboolean redraw_queued;
if (!priv->mapped) if (!priv->mapped)
return; return;
meta_shaped_texture_update_area (META_SHAPED_TEXTURE (priv->actor), redraw_queued = meta_shaped_texture_update_area (META_SHAPED_TEXTURE (priv->actor),
x, y, width, height); x, y, width, height,
priv->repaint_scheduled = TRUE; clutter_actor_has_mapped_clones (priv->actor) ?
NULL : priv->unobscured_region);
priv->repaint_scheduled = priv->repaint_scheduled || redraw_queued;
} }
void void