Move ::demandAttention to AbstractClient

This commit is contained in:
Martin Gräßlin 2015-03-12 12:02:39 +01:00
parent af48d38d22
commit 69f198e923
2 changed files with 2 additions and 1 deletions

View file

@ -110,6 +110,7 @@ public:
virtual bool wantsInput() const = 0; virtual bool wantsInput() const = 0;
virtual void checkWorkspacePosition(QRect oldGeometry = QRect(), int oldDesktop = -2) = 0; virtual void checkWorkspacePosition(QRect oldGeometry = QRect(), int oldDesktop = -2) = 0;
virtual xcb_timestamp_t userTime() const; virtual xcb_timestamp_t userTime() const;
virtual void demandAttention(bool set = true) = 0;
virtual void growHorizontal(); virtual void growHorizontal();
virtual void shrinkHorizontal(); virtual void shrinkHorizontal();

View file

@ -434,7 +434,7 @@ public:
bool isDemandingAttention() const { bool isDemandingAttention() const {
return demands_attention; return demands_attention;
} }
void demandAttention(bool set = true); void demandAttention(bool set = true) override;
void updateDecoration(bool check_workspace_pos, bool force = false); void updateDecoration(bool check_workspace_pos, bool force = false);
void triggerDecorationRepaint(); void triggerDecorationRepaint();