Commit 93b3ace0 authored by David Edmundson's avatar David Edmundson

[effects/fadedesktop] Fade to the correct opacity

An opacity animation calls multiplyOpacity not setOpacity, therefore we
want to always fade between 0 and 1, not up to the window opacity.

Reviewers: #kwin, zzag

Reviewed By: #kwin, zzag

Subscribers: kwin

Tags: #kwin

Differential Revision:
parent 4ecbacff
......@@ -54,7 +54,7 @@ effects['desktopChanged(int,int)'].connect(function(oldDesktop, newDesktop) {
duration: duration,
animations: [{
type: Effect.Opacity,
to: w.opacity,
to: 1.0,
from: 0.0
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