kwin/effects/screenshot
Méven Car e3df2e15a6 ScreenshotEffect: Use Service Property to authorize screenshot without confirmation
Summary:
Restrict to process with `X-KDE-DBUS-Restricted-Interfaces=org.kde.kwin.Screenshot` in their corresponding Service file,
 to take screenshots.
Such a program can now take immediate screenshots.

Adds a utility file to group KService related logic.

Needed for D29408

Reviewers: #kwin, apol, davidedmundson, bport, zzag

Reviewed By: #kwin, davidedmundson

Subscribers: ngraham, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D29407
2020-06-16 19:00:04 +02:00
..
CMakeLists.txt ScreenshotEffect: Use Service Property to authorize screenshot without confirmation 2020-06-16 19:00:04 +02:00
screenshot.cpp ScreenshotEffect: Use Service Property to authorize screenshot without confirmation 2020-06-16 19:00:04 +02:00
screenshot.h ScreenshotEffect: Use Service Property to authorize screenshot without confirmation 2020-06-16 19:00:04 +02:00