Setup compositing when window is mapped
Currently, we setup compositing when the window is unmapped. The issue is that it will also create scene items, i.e. a window can be drawn even if readyForPainting() returns false.
Edited by Vlad Zahorodnii
Currently, we setup compositing when the window is unmapped. The issue is that it will also create scene items, i.e. a window can be drawn even if readyForPainting() returns false.