libweston: Notify timeline of object modification

We notify the timeline of the fact that the object suffered
modifications through the 'set_label' function. Remove the old
refresh variable.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
This commit is contained in:
Marius Vlad
2019-10-15 13:25:41 +03:00
parent 3203ff68ad
commit 5de9297df2
4 changed files with 34 additions and 9 deletions
+4
View File
@@ -2049,6 +2049,10 @@ weston_log_ctx_compositor_destroy(struct weston_compositor *compositor);
int
weston_compositor_enable_content_protection(struct weston_compositor *compositor);
void
weston_timeline_refresh_subscription_objects(struct weston_compositor *wc,
void *object);
#ifdef __cplusplus
}
#endif
-8
View File
@@ -42,14 +42,6 @@ struct weston_timeline_object {
/* Object id in the timeline JSON output. 0 is invalid. */
unsigned id;
/*
* If non-zero, forces a re-emission of object description.
* Should be set to non-zero, when changing long-lived
* object state that is not emitted on normal timeline
* events.
*/
unsigned force_refresh;
};
#endif /* WESTON_TIMELINE_OBJECT_H */