aboutsummaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-05-16 18:00:28 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-05-16 18:00:28 +0400
commitae6377373787b59e1fcd4c2436ec4e04c066fa75 (patch)
treec045f0927fdcab6fea2bfca50c69529ff01705c5 /src/handlers
parentc5ca4128293b118ac0fd1e724a12bfe7de00097d (diff)
downloadniri-ae6377373787b59e1fcd4c2436ec4e04c066fa75.tar.gz
niri-ae6377373787b59e1fcd4c2436ec4e04c066fa75.tar.bz2
niri-ae6377373787b59e1fcd4c2436ec4e04c066fa75.zip
Update Smithay and other deps
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/compositor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/handlers/compositor.rs b/src/handlers/compositor.rs
index 2afb8fe8..d12140e6 100644
--- a/src/handlers/compositor.rs
+++ b/src/handlers/compositor.rs
@@ -54,7 +54,7 @@ impl CompositorHandler for State {
.buffer
.as_ref()
.and_then(|assignment| match assignment {
- BufferAssignment::NewBuffer(buffer) => get_dmabuf(buffer).ok(),
+ BufferAssignment::NewBuffer(buffer) => get_dmabuf(buffer).cloned().ok(),
_ => None,
})
});