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

Ei protocol support using reis #1388

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

ids1024
Copy link
Member

@ids1024 ids1024 commented Apr 14, 2024

The Ei protocol is needed for the xdg-desktop-portal RemoteDesktop portal to emulate input devices, as well as by the InputCapture portal for Synergy-like uses (input-leap supports Wayland with this portal).

This is quite incomplete, but the type-text example in reis now works in Anvil. Reis could still use somewhat better higher-level servere-side APIs.

It might make sense if ei exposed seats and devices matching those in Smithay (or would compositors not always want to do that?). Not sure how best to handle that.

Receiver contexts for the InputCapture portal are also a bit more complicated to implement. Those involve capturing input once the cursor crosses outside the display. That isn't implemented at all here yet.

The Ei protocol is needed for the xdg-desktop-portal `RemoteDesktop`
portal to emulate input devices, as well as by the `InputCapture` portal
for Synergy-like uses (input-leap supports Wayland with this portal).

This is quite incomplete, but the `type-text` example in `reis` now
works in Anvil. Reis could still use somewhat better higher-level
servere-side APIs.

It might make sense if ei exposed seats and devices matching those in
Smithay (or would compositors not always want to do that?). Not sure how
best to handle that.

Receiver contexts for the `InputCapture` portal are also a bit more
complicated to implement. Those involve capturing input once the cursor
crosses outside the display. That isn't implemented at all here yet.
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.

None yet

1 participant