bilelmoussaoui / ashpd

A Rust wrapper around XDG portals DBus interfaces
https://bilelmoussaoui.github.io/ashpd/ashpd/
MIT License
240 stars 44 forks source link

desktop/input-capture: make options Option<T> #221

Closed feschber closed 4 months ago

feschber commented 4 months ago

@bilelmoussaoui

218 the 2nd

Everything that could break deserialization should now be covered.

I left the Options controlled by us non-optional (like the handle_token / session_handle_token in create-session) because they can not break anything (they are only serialized but not deserialized).

I'm a bit unsure about the ZonesChanged Signal, as None does not seem to make sense but according to the docs it is optional as well.

Would be good, if you could double check that I didnt miss anything ;)