From 3874577d3c2a37c4291962103a18f13c8862da76 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Tue, 21 Feb 2023 11:15:05 +0100 Subject: output-layer: document interactions with screen capture When e.g. screencopy-v1 is active, callers are responsible for disabling output layers. --- 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 9f787e2c..bd10fd12 100644 --- a/include/wlr/types/wlr_output_layer.h +++ b/include/wlr/types/wlr_output_layer.h @@ -32,6 +32,10 @@ * directly are expected to setup layers, call wlr_output_test(), paint the * layers that the backend rejected with the renderer, then call * wlr_output_commit(). + * + * Callers are responsible for disabling output layers when they need the full + * output contents to be composited onto a single buffer, e.g. during screen + * capture. */ struct wlr_output_layer { struct wl_list link; // wlr_output.layers -- cgit v1.2.3