From 4c5a796e96a66c18afbde0577d8b912a618fe710 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Thu, 3 Sep 2015 12:40:19 +0200 Subject: Make it possible to construct QWaylandOutput This requires QWaylandOutput to be initialized. This will happend when the QWaylandCompositor of the QWaylandOutputSpace that is set on the QWaylandOutput is created. QWaylandCompositor will send or post a Polish event to the QWaylandOutput which again will call QWaylandOutput::initialize. This function will create the global that will be put on the wl_displays registry This makes it possible to Create WaylandOutputs in QML (see the pure-qml example) and also gives a better programming model in C++ Change-Id: Iaf907ae18a283678eda6d04390dc9790ae0bced8 --- src/compositor/compositor_api/qwaylandquickcompositor.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/compositor/compositor_api/qwaylandquickcompositor.h') diff --git a/src/compositor/compositor_api/qwaylandquickcompositor.h b/src/compositor/compositor_api/qwaylandquickcompositor.h index 65c138a03..3952b2ffe 100644 --- a/src/compositor/compositor_api/qwaylandquickcompositor.h +++ b/src/compositor/compositor_api/qwaylandquickcompositor.h @@ -59,8 +59,6 @@ public: bool initializeLegazyQmlNames() const; void setInitializeLegazyQmlNames(bool init); - QWaylandOutput *createOutput(QWaylandOutputSpace *outputSpace, - QWindow *window) Q_DECL_OVERRIDE; QWaylandSurface *createSurface(QWaylandClient *client, quint32 id, int version) Q_DECL_OVERRIDE; protected: -- cgit v1.2.3