mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
surface: introduce events.client_commit
wlr_surface.events.client_commit is fired when wl_surface.commit request is received.
This commit is contained in:
parent
b6f43ab2e1
commit
4ec683ad1c
2 changed files with 27 additions and 21 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue