Commit b0b55165 authored by Xaver Hugl's avatar Xaver Hugl
Browse files

backends/drm: update cursor after compositing reset

Otherwise the cursor won't be shown, as its buffer and layer got destroyed

BUG: 453823
parent d03e352d
Pipeline #177945 passed with stage
in 13 minutes and 9 seconds
......@@ -811,6 +811,9 @@ void DrmGpu::recreateSurfaces()
virtualOutput->recreateSurface();
}
}
for (const auto &output : qAsConst(m_drmOutputs)) {
output->updateCursor();
}
}
}
......@@ -50,6 +50,8 @@ public:
void updateModes();
bool usesSoftwareCursor() const override;
void updateCursor();
void moveCursor();
void setColorTransformation(const QSharedPointer<ColorTransformation> &transformation) override;
......@@ -60,8 +62,6 @@ private:
QList<QSharedPointer<OutputMode>> getModes() const;
void updateCursor();
void moveCursor();
void renderCursorOpengl(const QSize &cursorSize);
void renderCursorQPainter();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment