subcompositor: drop unused subsurface state

master
Kirill Primak 2 months ago committed by itycodes
parent 86ff511fe2
commit 76cd17c833

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

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

Loading…
Cancel
Save