[effects/maximize] Use windowFrameGeometryChanged

Summary:
Use windowFrameGeometryChanged rather than windowGeometryShapeChanged
because we are interested only in frame geometry changes.

Reviewers: #kwin, davidedmundson

Reviewed By: #kwin, davidedmundson

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D26905
This commit is contained in:
Vlad Zahorodnii 2020-02-11 19:04:18 +02:00
parent 0253add426
commit 63b24b559a

View file

@ -93,7 +93,7 @@ var maximizeEffect = {
},
init: function () {
effect.configChanged.connect(maximizeEffect.loadConfig);
effects.windowGeometryShapeChanged.connect(maximizeEffect.geometryChange);
effects.windowFrameGeometryChanged.connect(maximizeEffect.geometryChange);
effects.windowMaximizedStateChanged.connect(maximizeEffect.maximizeChanged);
effect.animationEnded.connect(maximizeEffect.restoreForceBlurState);
}