You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
The text was updated successfully, but these errors were encountered: