remote-access-handle: Expose disable-animations property

Set to TRUE if a screen cast session asked for animations to be
disabled.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/838
This commit is contained in:
Jonas Ådahl
2019-09-24 11:11:48 +02:00
parent 81512ad0dc
commit 8c1e6ebde0
4 changed files with 38 additions and 0 deletions

View File

@ -91,6 +91,10 @@ init_remote_access_handle (MetaScreenCastSession *session)
remote_access_controller = meta_backend_get_remote_access_controller (backend);
remote_access_handle = META_REMOTE_ACCESS_HANDLE (session->handle);
meta_remote_access_handle_set_disable_animations (remote_access_handle,
session->disable_animations);
meta_remote_access_controller_notify_new_handle (remote_access_controller,
remote_access_handle);
}