clients: Add delete handler for simple-shm / simple-egl
It seems this was forgotten in the port.
diff --git a/clients/simple-egl.c b/clients/simple-egl.c
index ca1c2aa..538f45f 100644
--- a/clients/simple-egl.c
+++ b/clients/simple-egl.c
@@ -310,6 +310,12 @@
{
}
+static void
+handle_surface_delete(void *data, struct xdg_surface *xdg_surface)
+{
+ running = 0;
+}
+
static const struct xdg_surface_listener xdg_surface_listener = {
handle_surface_configure,
handle_surface_request_set_maximized,
@@ -318,6 +324,7 @@
handle_surface_request_unset_fullscreen,
handle_surface_focused_set,
handle_surface_focused_unset,
+ handle_surface_delete,
};
static void