diff options
author | Kristian Høgsberg <krh@bitplanet.net> | 2013-03-27 22:39:44 -0400 |
---|---|---|
committer | Kristian Høgsberg <krh@bitplanet.net> | 2013-03-27 22:39:44 -0400 |
commit | f413e201c4a9af6229240122f7200cabc07a0355 (patch) | |
tree | 522c13ee864fe48625289df57965fa58a388380a | |
parent | e9a6c6c8ccfb519b60b58819e3e782c7951bf654 (diff) |
Use weston_surface_geometry_dirty() to dirty surface geometry
-rw-r--r-- | overlay-plugin.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 |