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

Wayland support through org.freedesktop.portal.GlobalShortcuts #86

Closed
fgaz opened this issue Sep 11, 2024 · 1 comment
Closed

Wayland support through org.freedesktop.portal.GlobalShortcuts #86

fgaz opened this issue Sep 11, 2024 · 1 comment

Comments

@fgaz
Copy link

fgaz commented Sep 11, 2024

I'm aware of the many issues about the same topic. However, a couple of years ago the org.freedesktop.portal.GlobalShortcuts portal landed in xdg-desktop-portal, so the keyboard part should be fixable now. Pointer position is more difficult.

@fgaz
Copy link
Author

fgaz commented Sep 11, 2024

Having reflected some more about this, I think the portal is not suited to the device_query model. get_keys and on_key_* operate on all keys, and supporting this through GlobalShorcuts means registering a shortcut for every key. Not ideal at all.

It might still be possible to capture input through InputCapture then forward it back to the desktop, however this also far from the intended use case of Barrier/Synergy-like apps.

So I reached the same conclusion as in the other issues: it's best to wait for a more suitable portal/protocol. I'll close this, sorry for the noise.

@fgaz fgaz closed this as not planned Won't fix, can't repro, duplicate, stale Sep 11, 2024
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