Skip to content

scene/windowitem: only set visible to true if the surface is mapped

Xaver Hugl requested to merge work/zamundaaa/unmapped-surfaceitems into master

While this can't happen with Wayland windows, Xwayland may have a window that's otherwise considered visible but doesn't have a surface (yet, or anymore)

This should fix https://crash-reports.kde.org/organizations/kde/issues/66190/events/e9706586871b4f959aa879e302107bfe/ and a locally reproduce crash (the one I had at Akademy)

Merge request reports

Loading