D29407: ScreenshotEffect: Use Service Property to authorize screenshot without confirmation
Méven Car <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
meven created this revision. meven added reviewers: KWin, apol, davidedmundson, bport. Herald added a project: KWin. Herald added a subscriber: kwin. meven requested review of this revision. REVISION SUMMARY Allow a process with X-KDE-Wayland-Interfaces=org_kde_kwin_effect-screenshot in its Service file, to take screenshots without confirmation. Allow to use X-KDE-Original-Executable to find to executable if it is not in the Exec field. Adds a utility file to group KService related logic. Depends on D29406 <https://phabricator.kde.org/D29406> REPOSITORY R108 KWin BRANCH dbus-screenshot-security REVISION DETAIL https://phabricator.kde.org/D29407 AFFECTED FILES effects/CMakeLists.txt effects/screenshot/CMakeLists.txt effects/screenshot/screenshot.cpp effects/screenshot/screenshot.h service_utils.cpp service_utils.h wayland_server.cpp To: meven, #kwin, apol, davidedmundson, bport Cc: kwin, Orage, cacarry, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart