diff options
author | Simon Ser <contact@emersion.fr> | 2023-02-21 09:12:49 +0100 |
---|---|---|
committer | Isaac Freund <mail@isaacfreund.com> | 2023-03-28 22:58:29 +0000 |
commit | e00c4cd7dc14862503513dc029aa4d3db1d70865 (patch) | |
tree | 59c5d5ffe9d1668af103acf8462eb058ba00540f /include | |
parent | 59d2743c0cc4bb77527449fccfe1fba03357457c (diff) |
output-layer: cache current state
The will be used by the Wayland backend to figure out whether
updating sub-surface position is necessary.
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/types/wlr_output_layer.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_output_layer.h b/include/wlr/types/wlr_output_layer.h index 1ba69c8f..72dc43d5 100644 --- a/include/wlr/types/wlr_output_layer.h +++ b/include/wlr/types/wlr_output_layer.h @@ -48,6 +48,10 @@ struct wlr_output_layer { } events; void *data; + + // private state + + int x, y; }; /** |