context: track changes more closely

Mark the global changes and only emit a change event when
something changed.
This commit is contained in:
Wim Taymans 2020-10-22 11:03:27 +02:00
parent 2dee35c216
commit 7782352e8d
2 changed files with 26 additions and 9 deletions

View file

@ -264,6 +264,7 @@ struct global {
int init:1;
int sync:1;
int changed;
void *info;
struct global_info *ginfo;