Skip to content

Commit

Permalink
Fix use of ImportNotifier
Browse files Browse the repository at this point in the history
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`.
  • Loading branch information
ids1024 authored and Drakulix committed Dec 14, 2023
1 parent a8b401b commit 6eb8b82
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/wayland/handlers/dmabuf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<State>();
}
}
}
Expand Down

0 comments on commit 6eb8b82

Please sign in to comment.