aboutsummaryrefslogtreecommitdiff
path: root/include/wlr
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-27 13:21:03 -0400
committerGitHub <noreply@github.com>2018-07-27 13:21:03 -0400
commitf1b65b34a6caff8db7c729b6362ec57f2707aa1a (patch)
tree7c2193e16dc71534b59a06de912310e84ce41575 /include/wlr
parentb6ed1f29a4dbba93eb53c32ec5492db8ee1d9343 (diff)
parent16d7e09d996f7fd211e3a6ff8960a15217ca3710 (diff)
Merge pull request #1127 from emersion/surface-precommit
surface: add wlr_surface_role.precommit
Diffstat (limited to 'include/wlr')
-rw-r--r--include/wlr/types/wlr_surface.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_surface.h b/include/wlr/types/wlr_surface.h
index 0e3b5ff4..ee9afa86 100644
--- a/include/wlr/types/wlr_surface.h
+++ b/include/wlr/types/wlr_surface.h
@@ -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 {