From 1352f3875cee84e4bb219e1d9979f69fa3a2f31d Mon Sep 17 00:00:00 2001 From: Leonhard Kargl Date: Fri, 9 Aug 2024 12:12:33 +0200 Subject: [PATCH] Screenshot: Add an 'type' option This option allows to select the type (screen, window, area) of screenshot to be taken. Useful for apps that want to do the interactive parts themselves but still allow the user these different types of screenshots. This is only a hint, backends may not implement all of these. --- ...org.freedesktop.impl.portal.Screenshot.xml | 13 +++++++++++- data/org.freedesktop.portal.Screenshot.xml | 13 +++++++++++- src/screenshot.c | 21 ++++++++++++++++++- 3 files changed, 44 insertions(+), 3 deletions(-) diff --git a/data/org.freedesktop.impl.portal.Screenshot.xml b/data/org.freedesktop.impl.portal.Screenshot.xml index 8e16b05d9..ef953123a 100644 --- a/data/org.freedesktop.impl.portal.Screenshot.xml +++ b/data/org.freedesktop.impl.portal.Screenshot.xml @@ -25,7 +25,7 @@ This screenshot portal lets sandboxed applications request a screenshot. - This documentation describes version 2 of this interface. + This documentation describes version 3 of this interface. -->