From c665f33d25383d58d8b3e3a6e2ff1083fad0e400 Mon Sep 17 00:00:00 2001 From: Nova Date: Thu, 4 Sep 2025 14:14:46 -0700 Subject: [PATCH] fix(wayland/dmabuf_backing): always update surface --- src/wayland/dmabuf/buffer_backing.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wayland/dmabuf/buffer_backing.rs b/src/wayland/dmabuf/buffer_backing.rs index 041b8e2..8229e87 100644 --- a/src/wayland/dmabuf/buffer_backing.rs +++ b/src/wayland/dmabuf/buffer_backing.rs @@ -87,7 +87,8 @@ impl DmabufBacking { .map(|tex| dmatexes.insert_imported_dmatex(images, tex)) .inspect(|handle| { _ = self.tex.set(handle.clone()); - }) + }); + self.tex.get().cloned() } pub fn is_transparent(&self) -> bool {