Diffusion KWin 862bf0f15325

[effects/scale] Port to JavaScript

Authored by zzag on Oct 27 2018, 9:27 PM.

Description

[effects/scale] Port to JavaScript

Summary:
Now, when the scripting effects API has all required ingredients to port
the Scale effect to JavaScript we finally can do it.

The main rationale for porting this effect to JavaScript is that
scripted effects API lets us focus more on what we want instead of
"how".

Visually, the ported version doesn't deviate from the C++ version.

Test Plan:

  • Enable the Scale effect;
  • Open/close a window.

Reviewers: KWin, graesslin

Reviewed By: KWin, graesslin

Subscribers: graesslin, kwin

Tags: KWin

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

Details

Committed
zzagOct 29 2018, 8:17 AM
Reviewer
KWin
Differential Revision
D16478: [effects/scale] Port to JavaScript
Parents
R108:8d0554e45a8f: [scripting] Allow effects to grab windows
Branches
Unknown
Tags
Unknown