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:
Martin Gräßlin 2015-07-22 08:42:48 +02:00
parent a5185f924d
commit a0adf3507a
2 changed files with 6 additions and 6 deletions

View file

@ -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();

View file

@ -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.
**/