[effects/morphingpopups] Use enumerators from the DataRole enum

Summary:
Use Effect.WindowForceBackgroundContrastRole and Effect.WindowForceBlurRole
instead of integers to improve readability.

Reviewers: #kwin, broulik

Reviewed By: broulik

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D15709
This commit is contained in:
Vlad Zagorodniy 2018-09-23 16:48:19 +03:00
parent fe430b12e8
commit 646032a99d

View file

@ -58,10 +58,8 @@ var morphingEffect = {
return; return;
} }
//WindowForceBackgroundContrastRole window.setData(Effect.WindowForceBackgroundContrastRole, true);
window.setData(7, true); window.setData(Effect.WindowForceBlurRole, true);
//WindowForceBlurRole
window.setData(5, true);
var couldRetarget = false; var couldRetarget = false;