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
1d699a70
Commit
1d699a70
authored
May 08, 2022
by
Vlad Zahorodnii
Browse files
autotests: presentwindows -> windowview
parent
0860efec
Pipeline
#173910
passed with stage
in 15 minutes and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
autotests/integration/pointer_input.cpp
View file @
1d699a70
...
...
@@ -298,8 +298,8 @@ void PointerInputTest::testWarpingDuringFilter()
QCOMPARE
(
window
->
pos
(),
QPoint
(
0
,
0
));
QVERIFY
(
window
->
frameGeometry
().
contains
(
Cursors
::
self
()
->
mouse
()
->
pos
()));
// is
Present
Window
s
effect for top left screen edge loaded
QVERIFY
(
static_cast
<
EffectsHandlerImpl
*>
(
effects
)
->
isEffectLoaded
(
"
present
window
s
"
));
// is Window
View
effect for top left screen edge loaded
QVERIFY
(
static_cast
<
EffectsHandlerImpl
*>
(
effects
)
->
isEffectLoaded
(
"window
view
"
));
QVERIFY
(
movedSpy
.
isEmpty
());
quint32
timestamp
=
0
;
Test
::
pointerMotion
(
QPoint
(
0
,
0
),
timestamp
++
);
...
...
@@ -1569,9 +1569,9 @@ void PointerInputTest::testConfineToScreenGeometry()
// this test verifies that pointer belongs to at least one screen
// after moving it to off-screen area
// unload the
Present
Window
s
effect because it pushes back
// unload the Window
View
effect because it pushes back
// pointer if it's at (0, 0)
static_cast
<
EffectsHandlerImpl
*>
(
effects
)
->
unloadEffect
(
QStringLiteral
(
"
present
window
s
"
));
static_cast
<
EffectsHandlerImpl
*>
(
effects
)
->
unloadEffect
(
QStringLiteral
(
"window
view
"
));
// setup screen layout
const
QVector
<
QRect
>
geometries
{
...
...
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