Skip to content

screenpool: Update screenInvariants check to match code changes

David Edmundson requested to merge cherry-pick-dde67906-2 into Plasma/5.27

On wayland it's possible to get the output order for a screen removal before the output deletion signal. Screen pool is designed to handle this and the current code is designed so that output order takes precendence and will remove the screen from availableScreens immediately.

This is fine in real life but one of our asserts needs guarding.

(cherry picked from commit dde67906)

Merge request reports

Loading