mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
subcompositor: drop unused subsurface state
This commit is contained in:
parent
6ada67da9b
commit
dd8f4913a4
2 changed files with 0 additions and 7 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue