From cd018b6ba3a53776ce1fa3a7daaf30ff23b537fe Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 30 Oct 2021 19:11:13 +0300 Subject: [PATCH] effects/screenshot: Add org.kde.KWin.ScreenShot2.CaptureActiveScreen The new method can be used to implement the "Current Screen" capture mode in Spectacle. --- .../screenshot/org.kde.KWin.ScreenShot2.xml | 40 +++++++++++++++++++ .../screenshot/screenshotdbusinterface2.cpp | 26 ++++++++++++ .../screenshot/screenshotdbusinterface2.h | 2 + 3 files changed, 68 insertions(+) diff --git a/src/effects/screenshot/org.kde.KWin.ScreenShot2.xml b/src/effects/screenshot/org.kde.KWin.ScreenShot2.xml index a84cdc8a0c..8a726d45a7 100644 --- a/src/effects/screenshot/org.kde.KWin.ScreenShot2.xml +++ b/src/effects/screenshot/org.kde.KWin.ScreenShot2.xml @@ -191,6 +191,46 @@ + + + + + + + + +