wayland: Handle global_remove event as well
authorKristian Høgsberg <krh@bitplanet.net>
Tue, 18 Jun 2013 20:53:46 +0000 (16:53 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Tue, 18 Jun 2013 21:45:19 +0000 (17:45 -0400)
commit712269d6744a8849d1d0cf01fa0132d969b79ed4
treeafe38b84110e6d786ec92f1b1ac7ff1670412e4c
parentadeda5afd428e2e4a2c0ef0b6367956d94c4d054
wayland: Handle global_remove event as well

We need to set up a handler for the global_remove event that gets sent
out when a global gets removed.  Without the handler we end up calling
a NULL pointer.

https://bugs.freedesktop.org/show_bug.cgi?id=65910

NOTE: This is a candidate for the stable branches.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
src/egl/drivers/dri2/platform_wayland.c