Skip to content

oeffis: OEFFIS_DEVICE_ALL_DEVICES should translate to "all"

Peter Hutterer requested to merge whot/libei:wip/all-is-all into main

As the portal documentation [1] says:

Bitmask of what device types to request remote controlling of. Default is all.

The default is only triggered if we do not submit the types at all, the current behavior of sending a value of 0 means "none". Fix this by skipping the "types" key if we try to select for all devices.

[1] https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.RemoteDesktop.html


cc @ofourdan

Fixes https://gitlab.gnome.org/GNOME/mutter/-/issues/3194

Fixes xorg/xserver!1214 (merged)

Edited by Peter Hutterer

Merge request reports