Diffusion KWin 7550d2a02064

[effects/dimscreen] Use QSet for checking whether activated window asks for…

Authored by zzag on Jun 8 2018, 11:10 PM.

Description

[effects/dimscreen] Use QSet for checking whether activated window asks for permissions

Summary:
Do not construct QStringList with classes of windows that ask for
permissions. Instead, create a static set of those window classes (to
avoid the unnecessary construction of QStringList and make lookups
faster).

Reviewers: KWin, davidedmundson

Reviewed By: KWin, davidedmundson

Subscribers: kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D13440