Fix typos

This commit is contained in:
Martin Gräßlin 2014-12-12 08:36:07 +01:00
parent c859c62172
commit c5867c130e
2 changed files with 4 additions and 4 deletions

View file

@ -346,7 +346,7 @@ void TestSubSurface::testPlaceAbove()
// so far the stacking order should still be empty
QVERIFY(serverSubSurface1->parentSurface()->childSubSurfaces().isEmpty());
// commiting the parent should create the stacking order
// committing the parent should create the stacking order
parent->commit(Surface::CommitFlag::None);
// ensure it's processed on server side
wl_display_flush(m_connection->display());
@ -446,7 +446,7 @@ void TestSubSurface::testPlaceBelow()
// so far the stacking order should still be empty
QVERIFY(serverSubSurface1->parentSurface()->childSubSurfaces().isEmpty());
// commiting the parent should create the stacking order
// committing the parent should create the stacking order
parent->commit(Surface::CommitFlag::None);
// ensure it's processed on server side
wl_display_flush(m_connection->display());

View file

@ -508,7 +508,7 @@ void TestWaylandSurface::testOpaque()
// let's install an opaque region
s->setOpaqueRegion(m_compositor->createRegion(QRegion(0, 10, 20, 30)).get());
// the region should only be applied after the surface got commited
// the region should only be applied after the surface got committed
wl_display_flush(m_connection->display());
QCoreApplication::processEvents();
QCOMPARE(serverSurface->opaque(), QRegion());
@ -564,7 +564,7 @@ void TestWaylandSurface::testInput()
// let's install an input region
s->setInputRegion(m_compositor->createRegion(QRegion(0, 10, 20, 30)).get());
// the region should only be applied after the surface got commited
// the region should only be applied after the surface got committed
wl_display_flush(m_connection->display());
QCoreApplication::processEvents();
QCOMPARE(serverSurface->input(), QRegion());