[PATCH weston 5/6] tests: update for manual surface/view mapping

Armin Krezović krezovic.armin at gmail.com
Thu Jun 30 04:04:32 UTC 2016


This is a follow up for weston-test to manually
set mapped status for views/surfaces it controls

Signed-off-by: Armin Krezović <krezovic.armin at gmail.com>
---
 tests/weston-test.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/weston-test.c b/tests/weston-test.c
index 1793744..d9ae915 100644
--- a/tests/weston-test.c
+++ b/tests/weston-test.c
@@ -103,6 +103,9 @@ test_surface_configure(struct weston_surface *surface, int32_t sx, int32_t sy)
 				 test_surface->x, test_surface->y);
 
 	weston_view_update_transform(test_surface->view);
+
+	test_surface->surface->is_mapped = true;
+	test_surface->view->is_mapped = true;
 }
 
 static void
-- 
2.9.0



More information about the wayland-devel mailing list