Skip to content

fix(input-capture/layer_shell): Call read() on guard only once - #485

Open
ids1024 wants to merge 2 commits into
feschber:mainfrom
ids1024:wayland
Open

fix(input-capture/layer_shell): Call read() on guard only once#485
ids1024 wants to merge 2 commits into
feschber:mainfrom
ids1024:wayland

Conversation

@ids1024

@ids1024 ids1024 commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

With wayland-backend/client_system enabled, this was causing an infinite loop since read never returned WouldBlock.

This seems to be an inconsistency in wayland-rs: Smithay/wayland-rs#959

In any case, it isn't necessary to call read more than once.

With `wayland-backend/client_system` enabled, this was causing an
infinite loop since `read` never returned `WouldBlock`.

This seems to be an inconsistency in wayland-rs:
Smithay/wayland-rs#959

In any case, it isn't necessary to call `read` more than once.
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

Successfully merging this pull request may close these issues.

1 participant