libweston: Notify client for change in content-protection status
The change in an output's content-protection may trigger a change in the surface's content-protection status, and inturn the content-protection available for the client. This patch recomputes the content-protection level for a surface, in case there is a change in content-protection level of an output, showing the surface. In case of a change in the surface's content-protection, the client associated with that surface is notified. Signed-off-by: Ankit Nautiyal <ankit.k.nautiyal@intel.com>
This commit is contained in:
@@ -1630,6 +1630,7 @@ struct content_protection {
|
||||
struct wl_listener destroy_listener;
|
||||
struct weston_log_scope *debug;
|
||||
struct wl_list protected_list;
|
||||
struct wl_event_source *surface_protection_update;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user