Some features need certain globals to initialize. In order to deal with these dependencies, add a way to postpone closures that depend on a certain set of globals, that later will be invoked when required globals are all received.
https://bugzilla.gnome.org/show_bug.cgi?id=719819
4e9be39 wayland: Add global object depedency tracking
gdk/wayland/gdkdisplay-wayland.c | 147 ++++++++++++++++++++++++++++++++++++--
gdk/wayland/gdkdisplay-wayland.h | 7 ++
2 files changed, 149 insertions(+), 5 deletions(-)
Upstream: git.gnome.org