server: add wl_display getter for wl_global
This can be useful if the compositor wants to call wl_global_destroy() with some delay but it doesn't have the wl_display object associated with the global, which is needed to get access to the event loop.
Signed-off-by: Vlad Zahorodnii vlad.zahorodnii@kde.org
Edited by Vlad Zahorodnii