Skip to content

backend/drm: disable cursor in dealloc_crtc

Simon Ser requested to merge github/fork/emersion/dealloc-crtc-cursor into master

dealloc_crtc was destroying GBM surfaces, but the cursor_enabled flag was left as-is. When re-enabling the output, atomic_crtc_pageflip would try enabling the cursor plane, but would fail because no framebuffer is available.

Closes: https://github.com/swaywm/wlroots/issues/2150

Merge request reports