Skip to content

effects: Make OpenGL context current before deleting framebuffer

Nate Graham requested to merge work/cherry-pick-c5a29b4b into Plasma/5.27

When we delete a window we unredirect, when we unredirect, we delete the framebuffer which requires an openGL context.

handleWindowDeleted is the entry point from workspace events to effects code, so it's made current here.

BUG: 444665 BUG: 471139

(cherry picked from commit c5a29b4b)

Merge request reports