diff options
Diffstat (limited to 'src/compositor/compositor_api/waylandsurface.cpp')
-rw-r--r-- | src/compositor/compositor_api/waylandsurface.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/compositor/compositor_api/waylandsurface.cpp b/src/compositor/compositor_api/waylandsurface.cpp index 972ae451b..e30c148ad 100644 --- a/src/compositor/compositor_api/waylandsurface.cpp +++ b/src/compositor/compositor_api/waylandsurface.cpp @@ -323,6 +323,15 @@ QString WaylandSurface::title() const return d->surface->title(); } +bool WaylandSurface::hasShellSurface() const +{ + Q_D(const WaylandSurface); + if (d->surface->shellSurface()) + return true; + + return false; +} + /*! * \return True if WL_SHELL_SURFACE_TRANSIENT_INACTIVE was set for this surface, meaning it should not receive keyboard focus. */ |