Fix wlr_surface destruction bug

This commit is contained in:
nyorain 2017-08-10 12:42:35 +02:00
parent 073dff63da
commit 31d78ff497
4 changed files with 16 additions and 10 deletions

View file

@ -14,6 +14,10 @@ struct wl_compositor_state {
void wl_compositor_init(struct wl_display *display,
struct wl_compositor_state *state, struct wlr_renderer *renderer);
struct wlr_surface;
void wl_compositor_surface_destroyed(struct wl_compositor_state *compositor,
struct wlr_surface *surface);
struct wl_shell_state {
struct wl_global *wl_global;
struct wl_list wl_resources;