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
b2d401cd
Commit
b2d401cd
authored
Jan 16, 2022
by
Xaver Hugl
Browse files
backends/drm: re-add KWIN_FORCE_SW_CURSOR
It was accidentally dropped
parent
791b0bb2
Pipeline
#124443
passed with stage
in 13 minutes and 20 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
src/backends/drm/drm_output.cpp
View file @
b2d401cd
...
...
@@ -92,6 +92,12 @@ static bool isCursorSpriteCompatible(const QImage *buffer, const QImage *sprite)
void
DrmOutput
::
updateCursor
()
{
static
bool
valid
;
static
const
bool
forceSoftwareCursor
=
qEnvironmentVariableIntValue
(
"KWIN_FORCE_SW_CURSOR"
,
&
valid
)
==
1
&&
valid
;
if
(
forceSoftwareCursor
)
{
m_setCursorSuccessful
=
false
;
return
;
}
if
(
!
m_pipeline
->
pending
.
crtc
)
{
return
;
}
...
...
Xaver Hugl
@zamundaaa
mentioned in commit
f9b2ce2a
·
Jan 16, 2022
mentioned in commit
f9b2ce2a
mentioned in commit f9b2ce2afe36587cf43f11f080c5afceef5e6510
Toggle commit list
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