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

Signed-off-by: Armin Krezović <[email protected]>
---
 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

_______________________________________________
wayland-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to