diff --git a/include/wlr/types/wlr_subcompositor.h b/include/wlr/types/wlr_subcompositor.h index bd3899b8..61a2cccc 100644 --- a/include/wlr/types/wlr_subcompositor.h +++ b/include/wlr/types/wlr_subcompositor.h @@ -53,10 +53,6 @@ struct wlr_subsurface { // private state struct wlr_surface_synced parent_synced; - - struct { - int32_t x, y; - } previous; }; struct wlr_subcompositor { diff --git a/types/wlr_subcompositor.c b/types/wlr_subcompositor.c index 771b9873..f0d0827b 100644 --- a/types/wlr_subcompositor.c +++ b/types/wlr_subcompositor.c @@ -289,9 +289,6 @@ void subsurface_handle_parent_commit(struct wlr_subsurface *subsurface) { 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) {