Merge branch 'Plasma/5.9'
This commit is contained in:
commit
c35aae2c4f
2 changed files with 4 additions and 2 deletions
|
@ -252,7 +252,6 @@ void MoveResizeWindowTest::testResize()
|
|||
Test::render(surface.data(), QSize(108, 50), Qt::blue);
|
||||
QVERIFY(geometryChangedSpy.wait());
|
||||
QCOMPARE(c->geometry(), QRect(0, 0, 108, 50));
|
||||
QEXPECT_FAIL("", "BUG 374869", Continue);
|
||||
QCOMPARE(clientStepUserMovedResizedSpy.count(), 1);
|
||||
|
||||
// go down
|
||||
|
@ -266,7 +265,6 @@ void MoveResizeWindowTest::testResize()
|
|||
Test::render(surface.data(), QSize(108, 58), Qt::blue);
|
||||
QVERIFY(geometryChangedSpy.wait());
|
||||
QCOMPARE(c->geometry(), QRect(0, 0, 108, 58));
|
||||
QEXPECT_FAIL("", "BUG 374869", Continue);
|
||||
QCOMPARE(clientStepUserMovedResizedSpy.count(), 2);
|
||||
|
||||
// let's end
|
||||
|
|
|
@ -508,6 +508,10 @@ void ShellClient::doSetGeometry(const QRect &rect)
|
|||
workspace()->updateClientArea();
|
||||
}
|
||||
emit geometryShapeChanged(this, old);
|
||||
|
||||
if (isResize()) {
|
||||
performMoveResize();
|
||||
}
|
||||
}
|
||||
|
||||
void ShellClient::doMove(int x, int y)
|
||||
|
|
Loading…
Reference in a new issue