From ad6ead19283c9de4b3ae7e914b9975e82207073e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 3 Dec 2015 14:03:54 +0100 Subject: [PATCH] Move property noBorder from Client to AbstractClient --- abstract_client.h | 7 +++++++ client.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) 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