From a0adf3507aa5e91d1f87371261d824747966b164 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 22 Jul 2015 08:42:48 +0200 Subject: [PATCH] Move Q_PROPERTY wantsInput from Client to AbstractClient This fixes the EffectWindow::acceptsFocus property which failed to properly delegate to wantsInput for ShellClients. --- abstract_client.h | 6 ++++++ client.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/abstract_client.h b/abstract_client.h index 3b35e7a886..473ee91d45 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -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(); diff --git a/client.h b/client.h index c35c669492..d764b4977e 100644 --- a/client.h +++ b/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. **/