diff --git a/Cargo.lock b/Cargo.lock index 28f1034d..4d513e86 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4549,7 +4549,7 @@ checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smithay" version = "0.3.0" -source = "git+https://github.com/ids1024/smithay?branch=drm-syncobj#b8ece1edcf089830786e131160694cd91cd9253d" +source = "git+https://github.com/ids1024/smithay?branch=drm-syncobj#45e2afe088b2d864de71d0616e909f359f606a36" dependencies = [ "appendlist", "ash", diff --git a/src/wayland/handlers/compositor.rs b/src/wayland/handlers/compositor.rs index ac790e19..be1e624d 100644 --- a/src/wayland/handlers/compositor.rs +++ b/src/wayland/handlers/compositor.rs @@ -137,8 +137,7 @@ impl CompositorHandler for State { return; } } - } - if let Ok((blocker, source)) = dmabuf.generate_blocker(Interest::READ) { + } else if let Ok((blocker, source)) = dmabuf.generate_blocker(Interest::READ) { let client = surface.client().unwrap(); let res = state