1
0
mirror of https://github.com/Relintai/sdl2_frt.git synced 2024-12-25 09:17:12 +01:00

Fixed bug 4513 - Wayland, fix crash when remove event is sent (from Sebastian Krzyszkowiak)

This commit is contained in:
Sylvain Becker 2019-03-12 20:04:08 +01:00
parent 052b4f2969
commit cddb285cdb

View File

@ -392,9 +392,12 @@ display_handle_global(void *data, struct wl_registry *registry, uint32_t id,
} }
} }
static void
display_remove_global(void *data, struct wl_registry *registry, uint32_t id) {}
static const struct wl_registry_listener registry_listener = { static const struct wl_registry_listener registry_listener = {
display_handle_global, display_handle_global,
NULL, /* global_remove */ display_remove_global
}; };
int int