Merge pull request #1127 from emersion/surface-precommit

surface: add wlr_surface_role.precommit
This commit is contained in:
Drew DeVault 2018-07-27 13:21:03 -04:00 committed by GitHub
commit f1b65b34a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 70 additions and 13 deletions

View file

@ -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 {