From 6eb8b82440e3185462d217a3474a968d50122ceb Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 14 Dec 2023 10:23:38 -0800 Subject: [PATCH] Fix use of `ImportNotifier` Somehow when updating to this API, I missed the call to `successful`. This doesn't seem to make a difference for most clients since `create_immed` is normally used. But should correct anything using `create`. --- src/wayland/handlers/dmabuf.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/wayland/handlers/dmabuf.rs b/src/wayland/handlers/dmabuf.rs index 9b1b3191..7637ccd7 100644 --- a/src/wayland/handlers/dmabuf.rs +++ b/src/wayland/handlers/dmabuf.rs @@ -20,6 +20,8 @@ impl DmabufHandler for State { ) { if self.backend.dmabuf_imported(global, dmabuf).is_err() { import_notifier.failed(); + } else { + let _ = import_notifier.successful::(); } } }