mirror of
https://github.com/brl/mutter.git
synced 2025-03-26 05:03:55 +00:00

They all checked that the remote session service talked with the correct peer, and some of them did check that there is an associated screencast session. Add a new check for the session being started (as it's state is decoupled with screencast session availability) and move all checks to a function that is called from all input-oriented DBus methods. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/1254 https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1258 (cherry picked from commit c8837a8de564705bfe36629e15cb5a213cd0839e)