diff options
author | Johan Klokkhammer Helsing <johan.helsing@qt.io> | 2016-08-05 10:59:51 +0200 |
---|---|---|
committer | Johan Helsing <johan.helsing@qt.io> | 2016-08-08 10:43:53 +0000 |
commit | 1db3dee9432f28f35ec9c971444b8a889bbdd6e2 (patch) | |
tree | 10f2c887e9db33d9f9a19057a554c4754690bfe9 /src/client/qwaylandshellsurface_p.h | |
parent | da364484aa51ce7c73d39ce0ca444169ce69588e (diff) |
Client: Refactor window active state
Let shell surface implementations decide if they manage activated state. Moves
the logic out of QWaylandDisplay.
Change-Id: I75c86df68a1a93f9b1d2bf378b6603215d0b0128
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src/client/qwaylandshellsurface_p.h')
-rw-r--r-- | src/client/qwaylandshellsurface_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/qwaylandshellsurface_p.h b/src/client/qwaylandshellsurface_p.h index 726d103f9..c99e586d5 100644 --- a/src/client/qwaylandshellsurface_p.h +++ b/src/client/qwaylandshellsurface_p.h @@ -85,6 +85,7 @@ public: virtual void setContentOrientationMask(Qt::ScreenOrientations orientation) { Q_UNUSED(orientation) } virtual void sendProperty(const QString &name, const QVariant &value); + virtual bool shellManagesActiveState() const { return false; } inline QWaylandWindow *window() { return m_window; } |