mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-10-29 23:20:57 +00:00
subcompositor: drop unused subsurface state
This commit is contained in:
parent
6ada67da9b
commit
dd8f4913a4
@ -53,10 +53,6 @@ struct wlr_subsurface {
|
||||
// private state
|
||||
|
||||
struct wlr_surface_synced parent_synced;
|
||||
|
||||
struct {
|
||||
int32_t x, y;
|
||||
} previous;
|
||||
};
|
||||
|
||||
struct wlr_subcompositor {
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user