Skip to content

Fix crash on hotplugging displays while switched to another TTY

Jan Blackquill requested to merge work/janb/fix-assert into master

Currently, we inhibit renderloops when switching to another TTY, and unhibit when switching back. When we hotplug a display while switched to another TTY, its renderloop isn't inhibited by default, yet when we switch back, we try to uninhibit the fresh renderloop, which triggers an assert.

Inhibiting newly created outputs while switched to another TTY fixes this crash.

BUG: 435388

Edited by Jan Blackquill

Merge request reports