diff options
author | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-09-03 23:16:27 +0300 |
---|---|---|
committer | Giulio Camuffo <giulio.camuffo@jollamobile.com> | 2014-09-04 09:55:04 +0200 |
commit | 1e052dd2de91506f71443e50bf225756d5ad69b1 (patch) | |
tree | c0130818c7d5f2ae688c97acef39a2750340e175 /src/client/qwaylandscreen_p.h | |
parent | a6a288ecce01082de69ec17a0493c859a8e6fde6 (diff) |
Destroy the QScreen when its wl_output is removed
Change-Id: I4532d05cca44c88fe38c14eacbe90c190f272b2c
Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/client/qwaylandscreen_p.h')
-rw-r--r-- | src/client/qwaylandscreen_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client/qwaylandscreen_p.h b/src/client/qwaylandscreen_p.h index 5d06227a5..90b8fc903 100644 --- a/src/client/qwaylandscreen_p.h +++ b/src/client/qwaylandscreen_p.h @@ -77,6 +77,7 @@ public: QPlatformCursor *cursor() const; QWaylandCursor *waylandCursor() const { return mWaylandCursor; }; + uint32_t outputId() const { return m_outputId; } ::wl_output *output() { return object(); } QWaylandExtendedOutput *extendedOutput() const; @@ -93,6 +94,7 @@ private: const QString &model, int32_t transform) Q_DECL_OVERRIDE; + int m_outputId; QWaylandDisplay *mWaylandDisplay; QWaylandExtendedOutput *mExtendedOutput; QRect mGeometry; |