mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-19 06:59:48 -05:00
surface: don't destroy surface while compositor has locks
References: https://github.com/swaywm/wlroots/issues/2957
This commit is contained in:
parent
3fdf8cf07e
commit
f0e695582a
2 changed files with 16 additions and 3 deletions
|
|
@ -84,7 +84,7 @@ struct wlr_surface_output {
|
|||
};
|
||||
|
||||
struct wlr_surface {
|
||||
struct wl_resource *resource;
|
||||
struct wl_resource *resource; // can be NULL if destroyed by the client
|
||||
struct wlr_renderer *renderer;
|
||||
/**
|
||||
* The surface's buffer, if any. A surface has an attached buffer when it
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue