Move Q_PROPERTY wantsInput from Client to AbstractClient
This fixes the EffectWindow::acceptsFocus property which failed to properly delegate to wantsInput for ShellClients.
This commit is contained in:
parent
a5185f924d
commit
a0adf3507a
2 changed files with 6 additions and 6 deletions
|
@ -155,6 +155,12 @@ class AbstractClient : public Toplevel
|
|||
* Maximum size as specified in WM_NORMAL_HINTS
|
||||
**/
|
||||
Q_PROPERTY(QSize maxSize READ maxSize)
|
||||
/**
|
||||
* Whether the Client can accept keyboard focus.
|
||||
* The value is evaluated each time the getter is called.
|
||||
* Because of that no changed signal is provided.
|
||||
**/
|
||||
Q_PROPERTY(bool wantsInput READ wantsInput)
|
||||
public:
|
||||
virtual ~AbstractClient();
|
||||
|
||||
|
|
6
client.h
6
client.h
|
@ -146,12 +146,6 @@ class Client
|
|||
* Because of that no changed signal is provided.
|
||||
**/
|
||||
Q_PROPERTY(QRect iconGeometry READ iconGeometry)
|
||||
/**
|
||||
* Whether the Client can accept keyboard focus.
|
||||
* The value is evaluated each time the getter is called.
|
||||
* Because of that no changed signal is provided.
|
||||
**/
|
||||
Q_PROPERTY(bool wantsInput READ wantsInput)
|
||||
/**
|
||||
* The "Window Tabs" Group this Client belongs to.
|
||||
**/
|
||||
|
|
Loading…
Reference in a new issue