Skip to content

backends/x11: Fix a crash in KWin::X11WindowedEglPrimaryLayer::present()

Vlad Zahorodnii requested to merge work/cherry-pick-1573657c into Plasma/6.2

CompositorWayland will call the present() function even if the beginFrame() fails, in which case, m_buffer can be null. Also, the present function has no code to reset m_buffer after it has finished using it.

SENTRY: KWIN-6JD

(cherry picked from commit 1573657c)

Co-authored-by: Vlad Zahorodnii vlad.zahorodnii@kde.org

Merge request reports

Loading