mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-15 06:59:43 -05:00
Merge pull request #1127 from emersion/surface-precommit
surface: add wlr_surface_role.precommit
This commit is contained in:
commit
f1b65b34a6
11 changed files with 70 additions and 13 deletions
|
|
@ -39,6 +39,7 @@ struct wlr_surface_state {
|
|||
struct wlr_surface_role {
|
||||
const char *name;
|
||||
void (*commit)(struct wlr_surface *surface);
|
||||
void (*precommit)(struct wlr_surface *surface);
|
||||
};
|
||||
|
||||
struct wlr_surface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue