mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-20 06:59:42 -05:00
surface: add cache event
This commit is contained in:
parent
3fdf8cf07e
commit
0f9ecac3cb
2 changed files with 9 additions and 0 deletions
|
|
@ -135,6 +135,12 @@ struct wlr_surface {
|
|||
|
||||
struct {
|
||||
struct wl_signal commit;
|
||||
/**
|
||||
* Emitted when the pending state is cached.
|
||||
*
|
||||
* Can be used by surface extensions to tie their own state to commits.
|
||||
*/
|
||||
struct wl_signal cache; // struct wlr_surface_state *
|
||||
struct wl_signal new_subsurface;
|
||||
struct wl_signal destroy;
|
||||
} events;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue