diff --git a/lib/renderers/wayland/window.c b/lib/renderers/wayland/window.c index 8d8f196..c3b19e7 100644 --- a/lib/renderers/wayland/window.c +++ b/lib/renderers/wayland/window.c @@ -258,8 +258,6 @@ bm_wl_window_render(struct window *window, struct wl_display *display, struct bm window->height = ceil(result.height / window->scale); zwlr_layer_surface_v1_set_size(window->layer_surface, window->width, window->height); - wl_surface_commit(window->surface); - wl_display_roundtrip(display); destroy_buffer(buffer); }