diff --git a/abstract_client.h b/abstract_client.h index d8384bb9cd..733aff9000 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -204,6 +204,13 @@ class KWIN_EXPORT AbstractClient : public Toplevel * Whether the decoration is currently using an alpha channel. **/ Q_PROPERTY(bool decorationHasAlpha READ decorationHasAlpha) + /** + * Whether the window has a decoration or not. + * This property is not allowed to be set by applications themselves. + * The decision whether a window has a border or not belongs to the window manager. + * If this property gets abused by application developers, it will be removed again. + **/ + Q_PROPERTY(bool noBorder READ noBorder WRITE setNoBorder) public: virtual ~AbstractClient(); diff --git a/client.h b/client.h index 9912de47a1..b9868ccf67 100644 --- a/client.h +++ b/client.h @@ -110,13 +110,6 @@ class Client * The "Window Tabs" Group this Client belongs to. **/ Q_PROPERTY(KWin::TabGroup* tabGroup READ tabGroup NOTIFY tabGroupChanged SCRIPTABLE false) - /** - * Whether the window has a decoration or not. - * This property is not allowed to be set by applications themselves. - * The decision whether a window has a border or not belongs to the window manager. - * If this property gets abused by application developers, it will be removed again. - **/ - Q_PROPERTY(bool noBorder READ noBorder WRITE setNoBorder) /** * A client can block compositing. That is while the Client is alive and the state is set, * Compositing is suspended and is resumed when there are no Clients blocking compositing any