Don't create wl_surface for desktop widgets
Change-Id: I3ebcb49a4acf230b9515c0317aab2307dcb9270b Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
This commit is contained in:
parent
53326bfa3f
commit
4c0a1bc3b0
@ -88,8 +88,8 @@ QWaylandWindow::QWaylandWindow(QWindow *window)
|
||||
{
|
||||
static WId id = 1;
|
||||
mWindowId = id++;
|
||||
|
||||
initWindow();
|
||||
if (window->type() != Qt::Desktop)
|
||||
initWindow();
|
||||
}
|
||||
|
||||
QWaylandWindow::~QWaylandWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user