From f413e201c4a9af6229240122f7200cabc07a0355 Mon Sep 17 00:00:00 2001 From: Kristian Høgsberg Date: Wed, 27 Mar 2013 22:39:44 -0400 Subject: Use weston_surface_geometry_dirty() to dirty surface geometry --- overlay-plugin.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/overlay-plugin.c b/overlay-plugin.c index 8b8353c..f0a5932 100644 --- a/overlay-plugin.c +++ b/overlay-plugin.c @@ -165,7 +165,9 @@ center_on_output(struct overlay *overlay, int32_t width, int32_t height) surface->geometry.y = output->y + (output->height - height) / 2; surface->geometry.width = width; surface->geometry.height = height; - surface->geometry.dirty = 1; + + weston_surface_geometry_dirty(surface); + } static void -- cgit v1.2.3