So this a follow up to my Flatpak audio / display resolution thread, I thought a new post made more sense than added another thing ![]()
Another issue using Moonlight via the Flatpak is the Wayland compositor in use (Cage https://www.hjdskes.nl/projects/cage/) does not support point constraints, this is commonly used by games the lock the pointer to the game window allowing for infinite mouse movement in any direction, instead of being limited by the desktop size.
Currently without this protocol the mouse pointer will often run into a virtual wall and no further movement is possible, this happens both on a streamed desktop and in games with Moonlight.
There is a PR open to implement this in Cage https://github.com/cage-kiosk/cage/pull/527 but i don't know if or when this will be merged and released. I have built Cage from the branch in the PR and manually copied it to my LibreELEC box and confirmed it working for me, so i can just continue to do this for now.
So this thread is both info for anyone else looking to manually fix the issue, and also an ask to consider creating a patch for the Cage build package or temporarily make a fork of Cage with the fix and build against that.