Commit 8190927e authored by Marco Martin's avatar Marco Martin

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
parent 35c6aa52
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment