emersion / xdg-desktop-portal-wlr

xdg-desktop-portal backend for wlroots
MIT License
591 stars 56 forks source link

Refactor screencast error handling #211

Open columbarius opened 2 years ago

columbarius commented 2 years ago

176 introduces a teardown flag. Together with the quit flag and the error int we have now 3 control things.

My proposal is to replace the error int with a bitfield generated by enums for different reasons.