diff --git a/src/compositor/meta-surface-actor.c b/src/compositor/meta-surface-actor.c index ccc10adcc..540c7f49c 100644 --- a/src/compositor/meta-surface-actor.c +++ b/src/compositor/meta-surface-actor.c @@ -111,7 +111,7 @@ update_area (MetaSurfaceActor *self, if (shm_buffer) { CoglTexture2D *texture = COGL_TEXTURE_2D (priv->buffer->texture); - cogl_wayland_texture_set_region_from_shm_buffer (texture, x, y, width, height, shm_buffer, 0, 0, 0, NULL); + cogl_wayland_texture_set_region_from_shm_buffer (texture, x, y, width, height, shm_buffer, x, y, 0, NULL); } } else