mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
output: listen to renderer destroy in wlr_output_cursor
When a renderer is destroyed, so are all textures. Reset the texture in that case.
This commit is contained in:
parent
9e3576426d
commit
f0d8377732
2 changed files with 18 additions and 0 deletions
|
|
@ -45,6 +45,7 @@ struct wlr_output_cursor {
|
|||
int32_t hotspot_x, hotspot_y;
|
||||
struct wlr_texture *texture;
|
||||
bool own_texture;
|
||||
struct wl_listener renderer_destroy;
|
||||
struct wl_list link;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue