--support wayland painting without init crashes --the wayland interface is just the xwindow one masked as an wayland interface