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
e20f0966
Commit
e20f0966
authored
Jan 13, 2022
by
Vlad Zahorodnii
Browse files
scenes/qpainter: Fix software cursor check in paintCursor()
Hopefully this will fix SceneQPainterTest.
parent
4b8b8b76
Pipeline
#123192
passed with stage
in 21 minutes and 11 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/scenes/qpainter/scene_qpainter.cpp
View file @
e20f0966
...
...
@@ -107,7 +107,7 @@ void SceneQPainter::paintBackground(const QRegion ®ion)
void
SceneQPainter
::
paintCursor
(
AbstractOutput
*
output
,
const
QRegion
&
rendered
)
{
if
(
!
output
||
output
->
usesSoftwareCursor
()
||
Cursors
::
self
()
->
isCursorHidden
())
{
if
(
!
output
||
!
output
->
usesSoftwareCursor
()
||
Cursors
::
self
()
->
isCursorHidden
())
{
return
;
}
...
...
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