fix: upgrade smithay

This commit is contained in:
Nova
2023-05-10 16:51:39 -04:00
parent cb9368cb8e
commit a31781146e
5 changed files with 71 additions and 94 deletions

View File

@@ -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;