Skip to content

Commit

Permalink
Fixed bug 4513 - Wayland, fix crash when remove event is sent (from S…
Browse files Browse the repository at this point in the history
…ebastian Krzyszkowiak)
  • Loading branch information
1bsyl committed Mar 12, 2019
1 parent 052b4f2 commit cddb285
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/video/wayland/SDL_waylandvideo.c
Expand Up @@ -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 = {
display_handle_global,
NULL, /* global_remove */
display_remove_global
};

int
Expand Down

0 comments on commit cddb285

Please sign in to comment.