Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when there are no capturables #299

Open
beroal opened this issue Oct 26, 2024 · 0 comments
Open

error when there are no capturables #299

beroal opened this issue Oct 26, 2024 · 0 comments

Comments

@beroal
Copy link

beroal commented Oct 26, 2024

Weylus incorrectly handles an empty list of capturables, giving the following error:

2024-10-26T14:40:08.493905Z  WARN weylus::capturable: Failed to get list of capturables via dbus/pipewire: The name is not activatable
2024-10-26T14:40:08.495058Z ERROR weylus::websocket: Got invalid id for capturable: 0

I can make a pull request. The type of ClientConfiguration.capturable_id needs to be changed to Option<usize>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant