From d086ee1b9e69f8777f9b84ee254d08be96d4cc34 Mon Sep 17 00:00:00 2001 From: Kirill Primak Date: Fri, 2 Jun 2023 21:04:16 +0300 Subject: compositor: remove wlr_surface_role.precommit It was previously used to handle unmapping properly but is obsolete now. --- include/wlr/types/wlr_compositor.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include') 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); }; -- cgit v1.2.3