Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
c5867c13
Commit
c5867c13
authored
Dec 12, 2014
by
Martin Flöser
Browse files
Fix typos
parent
c859c621
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/wayland/autotests/client/test_wayland_subsurface.cpp
View file @
c5867c13
...
...
@@ -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
// commit
t
ing 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
// commit
t
ing 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
());
...
...
src/wayland/autotests/client/test_wayland_surface.cpp
View file @
c5867c13
...
...
@@ -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 commit
t
ed
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 commit
t
ed
wl_display_flush
(
m_connection
->
display
());
QCoreApplication
::
processEvents
();
QCOMPARE
(
serverSurface
->
input
(),
QRegion
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment