Fix destruction of pool buffers

This commit is contained in:
adnano 2024-05-02 18:45:49 -04:00
commit 1f221a73cf
6 changed files with 40 additions and 27 deletions

View file

@ -9,7 +9,8 @@ struct wl_context;
int menu_run(struct menu *menu);
int context_get_scale(struct wl_context *context);
struct wl_shm *context_get_shm(struct wl_context *context);
struct pool_buffer *context_get_current_buffer(struct wl_context *context);
struct pool_buffer *context_get_next_buffer(struct wl_context *context, int scale);
struct wl_surface *context_get_surface(struct wl_context *context);
struct xkb_state *context_get_xkb_state(struct wl_context *context);
bool context_paste(struct wl_context *context);