2016-02-02 17:25:36 +00:00
|
|
|
/********************************************************************
|
|
|
|
KWin - the KDE window manager
|
|
|
|
This file is part of the KDE project.
|
|
|
|
|
2020-08-02 22:10:35 +00:00
|
|
|
SPDX-FileCopyrightText: 2016 Martin Gräßlin <mgraesslin@kde.org>
|
2016-02-02 17:25:36 +00:00
|
|
|
|
2020-08-02 22:10:35 +00:00
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
2016-02-02 17:25:36 +00:00
|
|
|
*********************************************************************/
|
|
|
|
effects.windowAdded.connect(function(w) {
|
|
|
|
w.fadeAnimation = effect.animate(w, Effect.Opacity, 100, 1.0, 0.0);
|
|
|
|
});
|
|
|
|
effect.animationEnded.connect(function(w) {
|
|
|
|
cancel(w.fadeAnimation);
|
|
|
|
});
|