diff options
Diffstat (limited to 'tests/auto/client/shared/mockxdgshellv6.h')
-rw-r--r-- | tests/auto/client/shared/mockxdgshellv6.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/client/shared/mockxdgshellv6.h b/tests/auto/client/shared/mockxdgshellv6.h index f836ebd07..92b808ba8 100644 --- a/tests/auto/client/shared/mockxdgshellv6.h +++ b/tests/auto/client/shared/mockxdgshellv6.h @@ -47,6 +47,7 @@ class XdgSurfaceV6 : public QtWaylandServer::zxdg_surface_v6 public: XdgSurfaceV6(XdgShellV6 *shell, Surface *surface, wl_client *client, uint32_t id); XdgShellV6 *shell() const { return m_shell; } + Surface *surface() const { return m_surface; } protected: void zxdg_surface_v6_destroy_resource(Resource *) override { delete this; } |