Some more properties on Client
* Read-only: minSize/maxSize * Read-write: noBorder
This commit is contained in:
parent
6185bf00d3
commit
70828a3ee4
1 changed files with 15 additions and 0 deletions
15
client.h
15
client.h
|
@ -222,6 +222,21 @@ class Client
|
|||
* The "Window Tabs" Group this Client belongs to.
|
||||
**/
|
||||
Q_PROPERTY(KWin::ClientGroup* clientGroup READ clientGroup NOTIFY clientGroupChanged)
|
||||
/**
|
||||
* Minimum size as specified in WM_NORMAL_HINTS
|
||||
**/
|
||||
Q_PROPERTY(QSize minSize READ minSize)
|
||||
/**
|
||||
* Maximum size as specified in WM_NORMAL_HINTS
|
||||
**/
|
||||
Q_PROPERTY(QSize maxSize READ maxSize)
|
||||
/**
|
||||
* 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:
|
||||
Client(Workspace* ws);
|
||||
Window wrapperId() const;
|
||||
|
|
Loading…
Reference in a new issue