From e00c4cd7dc14862503513dc029aa4d3db1d70865 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 21 Feb 2023 09:12:49 +0100 Subject: output-layer: cache current state The will be used by the Wayland backend to figure out whether updating sub-surface position is necessary. --- include/wlr/types/wlr_output_layer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/wlr') 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; }; /** -- cgit v1.2.3