From 8190927eafa8662e4a357204a1bab99e07b21dc2 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Thu, 15 Jun 2017 18:32:39 +0200 Subject: [PATCH] geometry shape changes also with no resize Summary: the morphingpopup effect was working with notifications only in wayland. looking at what the codepath is, the signal geometryShapeChanged was not emitted as it was checking for resized, but it's supposed to come at every geometry update, not only resizes Test Plan: notification with D6216 are correctly animated, other animated things liketooltips are unaffected Reviewers: #plasma, #kwin, graesslin, davidedmundson Reviewed By: #plasma, davidedmundson Subscribers: plasma-devel, kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D6229 --- geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index 03bb9d623a..89de7b968a 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -2006,8 +2006,8 @@ void Client::setGeometry(int x, int y, int w, int h, ForceGeometry_t force) if (resized) { if (oldClientSize != QSize(w,h)) discardWindowPixmap(); - emit geometryShapeChanged(this, geometryBeforeUpdateBlocking()); } + emit geometryShapeChanged(this, geometryBeforeUpdateBlocking()); addRepaintDuringGeometryUpdates(); updateGeometryBeforeUpdateBlocking();