mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-25 06:47:03 -04:00
surface: introduce events.commit_request
wlr_surface.events.commit_request is fired when wl_surface.commit request is received.
This commit is contained in:
parent
98c00345cc
commit
400aaa3ebc
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 commit_request;
|
||||
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_commit_request;
|
||||
struct wl_listener parent_destroy;
|
||||
|
||||
struct {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue