From 63b24b559a90257174d096387b49cb7f08f9f50e Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Tue, 11 Feb 2020 19:04:18 +0200 Subject: [PATCH] [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 --- effects/maximize/package/contents/code/maximize.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/effects/maximize/package/contents/code/maximize.js b/effects/maximize/package/contents/code/maximize.js index 24f94ecf7b..f8bf5b7e91 100644 --- a/effects/maximize/package/contents/code/maximize.js +++ b/effects/maximize/package/contents/code/maximize.js @@ -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); }