subcompositor: drop unused subsurface state

This commit is contained in:
Kirill Primak 2024-10-08 19:18:38 +03:00
parent 6ada67da9b
commit dd8f4913a4
2 changed files with 0 additions and 7 deletions

View File

@ -53,10 +53,6 @@ struct wlr_subsurface {
// private state // private state
struct wlr_surface_synced parent_synced; struct wlr_surface_synced parent_synced;
struct {
int32_t x, y;
} previous;
}; };
struct wlr_subcompositor { struct wlr_subcompositor {

View File

@ -289,9 +289,6 @@ void subsurface_handle_parent_commit(struct wlr_subsurface *subsurface) {
subsurface); subsurface);
subsurface_consider_map(subsurface); subsurface_consider_map(subsurface);
} }
subsurface->previous.x = subsurface->current.x;
subsurface->previous.y = subsurface->current.y;
} }
struct wlr_subsurface *wlr_subsurface_try_from_wlr_surface(struct wlr_surface *surface) { struct wlr_subsurface *wlr_subsurface_try_from_wlr_surface(struct wlr_surface *surface) {