From b622bc5ec59d54744fa447ba3f9b03de035d3432 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 18 Nov 2022 19:55:43 +0200 Subject: [PATCH] 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. --- src/window.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/window.h b/src/window.h index 9322120a23..4c5b640ec5 100644 --- a/src/window.h +++ b/src/window.h @@ -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. */