mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
Fix wlr_surface destruction bug
This commit is contained in:
parent
073dff63da
commit
31d78ff497
4 changed files with 16 additions and 10 deletions
|
|
@ -37,15 +37,17 @@ struct wlr_surface {
|
|||
float surface_to_buffer_matrix[16];
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
struct wl_signal commit;
|
||||
} signals;
|
||||
|
||||
struct wl_list frame_callback_list; // wl_surface.frame
|
||||
|
||||
struct wl_listener compositor_listener; // destroy listener used by compositor
|
||||
void *compositor_data;
|
||||
};
|
||||
|
||||
struct wlr_renderer;
|
||||
struct wlr_surface *wlr_surface_create(struct wl_resource *res,
|
||||
struct wlr_renderer *renderer);
|
||||
struct wlr_renderer *renderer);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue