From ab6980d57609b1e4bdb164d3413faa2f7cb7e1e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Lind?= Date: Thu, 30 Jul 2015 12:05:12 +0200 Subject: Move the output from QWaylandSurface to the QWaylandSurfaceView and add a property called primaryOutput on the QWaylandSurface. Also add some bookkeeping in QtWayland::Output so it knows what surfaces and views it currently holds, sending the enter and leave events automatically. Change-Id: Ib6efbc6f8157657fb4451b751bba1cb5345b7906 --- src/compositor/compositor_api/qwaylandbufferref.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compositor/compositor_api/qwaylandbufferref.h') diff --git a/src/compositor/compositor_api/qwaylandbufferref.h b/src/compositor/compositor_api/qwaylandbufferref.h index fa978fe80..37166ebe6 100644 --- a/src/compositor/compositor_api/qwaylandbufferref.h +++ b/src/compositor/compositor_api/qwaylandbufferref.h @@ -66,6 +66,7 @@ public: QWaylandBufferRef &operator=(const QWaylandBufferRef &ref); bool isNull() const; bool hasBuffer() const; + bool isDestroyed() const; bool operator==(const QWaylandBufferRef &ref); bool operator!=(const QWaylandBufferRef &ref); -- cgit v1.2.3