udpate _NET_FRAME_EXTENTS with border updates

BUG: 351157
FIXED-IN: 5.4
REVIEW: 124741
This commit is contained in:
Thomas Lübking 2015-08-15 01:26:55 +02:00
parent c240f7a012
commit ede337ff22

View file

@ -413,6 +413,7 @@ void Client::createDecoration(const QRect& oldgeom)
connect(m_decoration, &KDecoration2::Decoration::resizeOnlyBordersChanged, this, &Client::updateInputWindow); connect(m_decoration, &KDecoration2::Decoration::resizeOnlyBordersChanged, this, &Client::updateInputWindow);
connect(m_decoration, &KDecoration2::Decoration::bordersChanged, this, connect(m_decoration, &KDecoration2::Decoration::bordersChanged, this,
[this]() { [this]() {
updateFrameExtents();
GeometryUpdatesBlocker blocker(this); GeometryUpdatesBlocker blocker(this);
// TODO: this is obviously idempotent // TODO: this is obviously idempotent
// calculateGravitation(true) would have to operate on the old border sizes // calculateGravitation(true) would have to operate on the old border sizes