Skip to content

Ensure that Workspace::deletedRemoved() is emitted while there's scene window

Vlad Zahorodnii requested to merge work/zzag/split-out-scene-window into master

Effects may perform cleanup when a deleted window is removed. If that happens and the SceneWindow is accessed, kwin may crash.

The Scene processes Workspace::deletedRemoved() before effects.

In order to fix dereferencing null pointer, this change makes the Window destroy its associated SceneWindow.

Edited by Vlad Zahorodnii

Merge request reports