backends/drm: blacklist hardware cursors with the NVidia driver
It doesn't work and seems to cause hangs. If desired, this can be overwritten by explicitly setting KWIN_FORCE_SW_CURSOR to 0. BUG: 453632
This commit is contained in:
parent
78794b4239
commit
ed06d752f0
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ void DrmOutput::updateCursor()
|
|||
{
|
||||
static bool valid;
|
||||
static const bool forceSoftwareCursor = qEnvironmentVariableIntValue("KWIN_FORCE_SW_CURSOR", &valid) == 1 && valid;
|
||||
if (forceSoftwareCursor) {
|
||||
// hardware cursors are broken with the NVidia proprietary driver
|
||||
if (forceSoftwareCursor || (!valid && m_gpu->isNVidia())) {
|
||||
m_setCursorSuccessful = false;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue