diff options
Diffstat (limited to 'src/hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h')
-rw-r--r-- | src/hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h b/src/hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h index 4bf035f2..0e6e6345 100644 --- a/src/hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h +++ b/src/hardwareintegration/compositor/xcomposite_share/xcompositebuffer.h @@ -48,11 +48,13 @@ QT_BEGIN_NAMESPACE +class XCompositeHandler; + class XCompositeBuffer : public QtWaylandServer::wl_buffer { public: XCompositeBuffer(Window window, const QSize &size, - struct ::wl_client *client, uint32_t id); + struct ::wl_client *client, uint32_t id, XCompositeHandler *handler); Window window(); @@ -71,6 +73,7 @@ private: Window mWindow; QWaylandSurface::Origin mOrigin; QSize mSize; + XCompositeHandler *mHandler = nullptr; }; QT_END_NAMESPACE |