Remove Window.surface property

Scripts don't have sufficient capabilities to use platform specific
apis. So exposing wayland surface object to scripts makes no sense.
This commit is contained in:
Vlad Zahorodnii 2022-11-18 19:55:43 +02:00
parent a0971264b8
commit b622bc5ec5

View file

@ -271,12 +271,6 @@ class KWIN_EXPORT Window : public QObject
*/
Q_PROPERTY(bool skipsCloseAnimation READ skipsCloseAnimation WRITE setSkipCloseAnimation NOTIFY skipCloseAnimationChanged)
/**
* Interface to the Wayland Surface.
* Relevant only in Wayland, in X11 it will be nullptr
*/
Q_PROPERTY(KWaylandServer::SurfaceInterface *surface READ surface)
/**
* Whether the window is a popup.
*/