From 69f198e92320128f351354ba6b1752f4f9529f4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 12 Mar 2015 12:02:39 +0100 Subject: [PATCH] Move ::demandAttention to AbstractClient --- abstract_client.h | 1 + client.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/abstract_client.h b/abstract_client.h index cfa1f94953..7abc65c0c7 100644 --- a/abstract_client.h +++ b/abstract_client.h @@ -110,6 +110,7 @@ public: virtual bool wantsInput() const = 0; virtual void checkWorkspacePosition(QRect oldGeometry = QRect(), int oldDesktop = -2) = 0; virtual xcb_timestamp_t userTime() const; + virtual void demandAttention(bool set = true) = 0; virtual void growHorizontal(); virtual void shrinkHorizontal(); diff --git a/client.h b/client.h index 3a9c4bf551..da09b6e64c 100644 --- a/client.h +++ b/client.h @@ -434,7 +434,7 @@ public: bool isDemandingAttention() const { return demands_attention; } - void demandAttention(bool set = true); + void demandAttention(bool set = true) override; void updateDecoration(bool check_workspace_pos, bool force = false); void triggerDecorationRepaint();