diff --git a/src/wayland/plasmashell_interface.cpp b/src/wayland/plasmashell_interface.cpp index d29d7bc227..1b10f3ce89 100644 --- a/src/wayland/plasmashell_interface.cpp +++ b/src/wayland/plasmashell_interface.cpp @@ -320,5 +320,10 @@ bool PlasmaShellSurfaceInterface::skipTaskbar() const return d->m_skipTaskbar; } +PlasmaShellSurfaceInterface *PlasmaShellSurfaceInterface::get(wl_resource *native) +{ + return Private::get(native); +} + } } diff --git a/src/wayland/plasmashell_interface.h b/src/wayland/plasmashell_interface.h index 9db3f529f0..eca7f39089 100644 --- a/src/wayland/plasmashell_interface.h +++ b/src/wayland/plasmashell_interface.h @@ -136,6 +136,12 @@ public: */ bool skipTaskbar() const; + /** + * @returns The PlasmaShellSurfaceInterface for the @p native resource. + * @since 5.5 + **/ + static PlasmaShellSurfaceInterface *get(wl_resource *native); + Q_SIGNALS: /** * A change of global position has been requested.