surface: introduce events.client_commit

wlr_surface.events.client_commit is fired when wl_surface.commit
request is received.
This commit is contained in:
Kirill Primak 2022-01-13 11:55:09 +03:00 committed by Simon Ser
parent b6f43ab2e1
commit 4ec683ad1c
2 changed files with 27 additions and 21 deletions

View file

@ -140,6 +140,7 @@ struct wlr_surface {
void *role_data; // role-specific data
struct {
struct wl_signal client_commit;
struct wl_signal commit;
struct wl_signal new_subsurface;
struct wl_signal destroy;
@ -188,6 +189,7 @@ struct wlr_subsurface {
bool added;
struct wl_listener surface_destroy;
struct wl_listener surface_client_commit;
struct wl_listener parent_destroy;
struct {