diff options
author | Kirill Primak <vyivel@eclair.cafe> | 2022-01-13 11:55:09 +0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-01-13 10:06:41 +0000 |
commit | 4ec683ad1c62fe47e0a3bc238446ae8e79f08246 (patch) | |
tree | 05a5e7e6e80eef1180cc7a0e59138f1381ea3b0f /include | |
parent | b6f43ab2e16931c5604b7e570edf481b3392fd25 (diff) |
surface: introduce events.client_commit
wlr_surface.events.client_commit is fired when wl_surface.commit
request is received.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_surface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h index 59168eaa..ca1a55ac 100644 --- a/include/wlr/types/wlr_surface.h +++ b/include/wlr/types/wlr_surface.h @@ -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 { |