output-layer: cache current state

The will be used by the Wayland backend to figure out whether
updating sub-surface position is necessary.
This commit is contained in:
Simon Ser 2023-02-21 09:12:49 +01:00 committed by Isaac Freund
parent 59d2743c0c
commit e00c4cd7dc
2 changed files with 12 additions and 2 deletions

View file

@ -48,6 +48,10 @@ struct wlr_output_layer {
} events;
void *data;
// private state
int x, y;
};
/**