Backport "Ensure that Toplevel::output() stays always in sync with geometry"

Should fix the crash in Workspace::activeOutput()

BUG: 448064

Merge request reports

Loading