aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKirill Primak <vyivel@eclair.cafe>2023-06-02 21:04:16 +0300
committerKirill Primak <vyivel@eclair.cafe>2023-06-02 21:04:16 +0300
commitd086ee1b9e69f8777f9b84ee254d08be96d4cc34 (patch)
tree07892f404f4b9f445863dade18366213ba474b3f /include
parent26676c8c072f813dc2d7e2b2dfe9e2701ce361a7 (diff)
compositor: remove wlr_surface_role.precommit
It was previously used to handle unmapping properly but is obsolete now.
Diffstat (limited to 'include')
-rw-r--r--include/wlr/types/wlr_compositor.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/wlr/types/wlr_compositor.h b/include/wlr/types/wlr_compositor.h
index 11379ab4..ddbf30cc 100644
--- a/include/wlr/types/wlr_compositor.h
+++ b/include/wlr/types/wlr_compositor.h
@@ -74,8 +74,6 @@ struct wlr_surface_state {
struct wlr_surface_role {
const char *name;
void (*commit)(struct wlr_surface *surface);
- void (*precommit)(struct wlr_surface *surface,
- const struct wlr_surface_state *state);
void (*unmap)(struct wlr_surface *surface);
void (*destroy)(struct wlr_surface *surface);
};