diff --git a/src/wayland/surface.rs b/src/wayland/surface.rs index f485faa..fb371ea 100644 --- a/src/wayland/surface.rs +++ b/src/wayland/surface.rs @@ -103,7 +103,7 @@ impl CoreSurface { }); // Let smithay handle buffer management (has to be done here as RendererSurfaceStates is not thread safe) - on_commit_buffer_handler::<()>(&wl_surface); + on_commit_buffer_handler::(&wl_surface); // Import all surface buffers into textures if import_surface_tree(renderer, &wl_surface).is_err() { return;