[PATCH] weston-test: schedule repaint after moving surface in test extension
U. Artie Eoff
ullysses.a.eoff at intel.com
Tue Jul 9 18:38:20 PDT 2013
From: "U. Artie Eoff" <ullysses.a.eoff at intel.com>
After some discussion with Rob Bradford (robster), we concluded that
we need to schedule a compositor repaint in
weston-test.c:test_configure_surface(...) to ensure that the moved
surface gets a frame callback/repaint.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=66133
Signed-off-by: U. Artie Eoff <ullysses.a.eoff at intel.com>
---
tests/weston-test.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/weston-test.c b/tests/weston-test.c
index b625f42..580612d 100644
--- a/tests/weston-test.c
+++ b/tests/weston-test.c
@@ -88,6 +88,8 @@ test_surface_configure(struct weston_surface *surface, int32_t sx, int32_t sy, i
if (!weston_surface_is_mapped(surface))
weston_surface_update_transform(surface);
+
+ weston_compositor_schedule_repaint(surface->compositor);
}
static void
--
1.7.11.7
More information about the wayland-devel
mailing list