D16317: [effects/dimscreen] Make it work on Wayland

David Edmundson <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
davidedmundson accepted this revision.
davidedmundson added a comment.
This revision is now accepted and ready to land.


  Please fix comment before pushing

INLINE COMMENTS

> dimscreen.cpp:37
> +    // KWayland can't get executable path of authentication agents because
> +    // they run as root. That's why the resource name part is empty.
> +    QStringLiteral(" org.kde.kdesu"),

> // they run as root

Polkit-kde-authentication-agent-1 does not run as root.
It just has magic flags that disable /proc inspection

REPOSITORY
  R108 KWin

BRANCH
  effects-dimscreen-wayland

REVISION DETAIL
  https://phabricator.kde.org/D16317

To: zzag, #kwin, davidedmundson
Cc: davidedmundson, kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.