From 98302c148aae764e47f31a5a8cf9c131ca0ca9b0 Mon Sep 17 00:00:00 2001 From: Andri Yngvason Date: Sun, 5 Sep 2021 16:23:35 +0000 Subject: [PATCH] screencopy: Add clip regions --- unstable/wlr-screencopy-unstable-v1.xml | 28 +++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/unstable/wlr-screencopy-unstable-v1.xml b/unstable/wlr-screencopy-unstable-v1.xml index 50b1b7d..398d6a0 100644 --- a/unstable/wlr-screencopy-unstable-v1.xml +++ b/unstable/wlr-screencopy-unstable-v1.xml @@ -38,7 +38,7 @@ interface version number is reset. - + This object is a manager which offers requests to start capturing from a source. @@ -80,7 +80,7 @@ - + This object represents a single frame. @@ -228,5 +228,29 @@ types, and send a "copy" request. + + + + + Sets the clip region for the subsequent copy request. This tells the + compositor that it needn't copy outside the given region. The default + clip region contains the whole frame. + + + + + + + + + + Adds the given box to the clip region. This can be used to compose a + more fine grained region. + + + + + +