Add kwin full source tree, greeter login, zsh, pcid service, and build system improvements
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
effects.windowAdded.connect(function (window) {
|
||||
window.animation = set({
|
||||
window: window,
|
||||
curve: QEasingCurve.Linear,
|
||||
duration: animationTime(1000),
|
||||
type: Effect.Opacity,
|
||||
from: 0,
|
||||
to: 1,
|
||||
keepAlive: false
|
||||
});
|
||||
|
||||
window.minimizedChanged.connect(() => {
|
||||
if (!window.minimized) {
|
||||
return;
|
||||
}
|
||||
if (complete(window.animation)) {
|
||||
sendTestResponse('ok');
|
||||
} else {
|
||||
sendTestResponse('fail');
|
||||
}
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user