Skip to content

workspace: fix slotOutputDisabled

Xaver Hugl requested to merge work/fix-no-output-crash into master

Setting output variables based on positioning leaves dangling pointers to the disabled output as slotOutputDisabled is called before the output actually gets removed.

This fixes the crash but is still far from ideal - desktopResized is still called when the to-be-removed output is still there, and when the positioning of outputs has not yet changed.

Merge request reports