Move property noBorder from Client to AbstractClient
This commit is contained in:
parent
5d36bab6b2
commit
ad6ead1928
2 changed files with 7 additions and 7 deletions
|
@ -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();
|
||||
|
||||
|
|
7
client.h
7
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
|
||||
|
|
Loading…
Reference in a new issue