diff options
author | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-01-11 14:28:24 +0100 |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@theqtcompany.com> | 2016-01-11 15:45:38 +0000 |
commit | baec8be7294a176620253dbbc1b2938cf96c8360 (patch) | |
tree | 7c5a5da110a13e65ae64ceb3278ccf3c2df86ea1 /src/client/qwaylandwindow.cpp | |
parent | b0d02b3cfd39f6a8815cc07848ca865257cd2c9f (diff) |
Don't create wl_surface for desktop widgetsv5.6.0-rc1
Change-Id: I3ebcb49a4acf230b9515c0317aab2307dcb9270b
Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@gmail.com>
Diffstat (limited to 'src/client/qwaylandwindow.cpp')
-rw-r--r-- | src/client/qwaylandwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/qwaylandwindow.cpp b/src/client/qwaylandwindow.cpp index ed7b656d..fe0d6bb9 100644 --- a/src/client/qwaylandwindow.cpp +++ b/src/client/qwaylandwindow.cpp @@ -88,8 +88,8 @@ QWaylandWindow::QWaylandWindow(QWindow *window) { static WId id = 1; mWindowId = id++; - - initWindow(); + if (window->type() != Qt::Desktop) + initWindow(); } QWaylandWindow::~QWaylandWindow() |