aboutsummaryrefslogtreecommitdiff
path: root/src/AttentionNoticeHandler.hh
diff options
context:
space:
mode:
authorHenrik Kinnunen <fluxgen@fluxbox.org>2010-03-18 18:41:35 (GMT)
committerHenrik Kinnunen <fluxgen@fluxbox.org>2010-03-18 18:41:35 (GMT)
commit6ed8369d57e8d3144805235fb7aeca63993742af (patch)
tree914bfd1a4fdc341d5c8aa1fc57e6297c7f8887f0 /src/AttentionNoticeHandler.hh
parent02bb93590c69b619150735f026f7719df2e5c271 (diff)
downloadfluxbox-6ed8369d57e8d3144805235fb7aeca63993742af.zip
fluxbox-6ed8369d57e8d3144805235fb7aeca63993742af.tar.bz2
Changed Focusable::focusSig() to new signal system.
The focus signal emits the window that had the focus status changed.
Diffstat (limited to 'src/AttentionNoticeHandler.hh')
-rw-r--r--src/AttentionNoticeHandler.hh10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/AttentionNoticeHandler.hh b/src/AttentionNoticeHandler.hh
index 3a98b09..27d3b43 100644
--- a/src/AttentionNoticeHandler.hh
+++ b/src/AttentionNoticeHandler.hh
@@ -48,8 +48,16 @@ public:
48 void update(FbTk::Subject *subj); 48 void update(FbTk::Subject *subj);
49 49
50 bool isDemandingAttention(const Focusable &client); 50 bool isDemandingAttention(const Focusable &client);
51 51
52 /// Called when window focus changes.
53 void windowFocusChanged(Focusable& win);
54 /// Remove window from attentionHandler.
55 void removeWindow(Focusable& win);
56
52private: 57private:
58 /// updates the windows state in this instance.
59 void updateWindow(Focusable& win, bool died);
60
53 NoticeMap m_attentions; 61 NoticeMap m_attentions;
54}; 62};
55 63