window->wait_for_configure should be false after dispatching more than once. Therefore this redraw() will never be called.
Signed-off-by: Ryo Munakata <ryomnk...@gmail.com> --- clients/simple-shm.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/clients/simple-shm.c b/clients/simple-shm.c index 9fa2e21..04b4eff 100644 --- a/clients/simple-shm.c +++ b/clients/simple-shm.c @@ -547,9 +547,6 @@ main(int argc, char **argv) wl_surface_damage(window->surface, 0, 0, window->width, window->height); - if (!window->wait_for_configure) - redraw(window, NULL, 0); - while (running && ret != -1) ret = wl_display_dispatch(display->display); -- 2.10.2 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/wayland-devel