Commit 646032a9 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[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
parent fe430b12
......@@ -58,10 +58,8 @@ var morphingEffect = {
return;
}
//WindowForceBackgroundContrastRole
window.setData(7, true);
//WindowForceBlurRole
window.setData(5, true);
window.setData(Effect.WindowForceBackgroundContrastRole, true);
window.setData(Effect.WindowForceBlurRole, true);
var couldRetarget = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment