Commit a0adf350 authored by Martin Flöser's avatar Martin Flöser

Move Q_PROPERTY wantsInput from Client to AbstractClient

This fixes the EffectWindow::acceptsFocus property which failed to
properly delegate to wantsInput for ShellClients.
parent a5185f92
......@@ -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();
......
......@@ -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.
**/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment