aboutsummaryrefslogtreecommitdiff
path: root/src/AttentionNoticeHandler.hh
diff options
context:
space:
mode:
authormarkt <markt>2006-06-24 18:19:49 (GMT)
committermarkt <markt>2006-06-24 18:19:49 (GMT)
commita23ad6719725a0290d01ac4bba0ce1905b2069d7 (patch)
treeb3997c14a601117cc2c613e2a8bb79cc6a6a1c4b /src/AttentionNoticeHandler.hh
parent0b730c76b10babe20738067ae7aec5a102d451fe (diff)
downloadfluxbox-a23ad6719725a0290d01ac4bba0ce1905b2069d7.zip
fluxbox-a23ad6719725a0290d01ac4bba0ce1905b2069d7.tar.bz2
Make Urgency Hint flash the correct WinClient's tab.
Diffstat (limited to 'src/AttentionNoticeHandler.hh')
-rw-r--r--src/AttentionNoticeHandler.hh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/AttentionNoticeHandler.hh b/src/AttentionNoticeHandler.hh
index aa2f9f2..836a023 100644
--- a/src/AttentionNoticeHandler.hh
+++ b/src/AttentionNoticeHandler.hh
@@ -27,7 +27,7 @@
27 27
28#include <map> 28#include <map>
29 29
30class FluxboxWindow; 30class WinClient;
31 31
32namespace FbTk { 32namespace FbTk {
33class Timer; 33class Timer;
@@ -41,11 +41,11 @@ class AttentionNoticeHandler: public FbTk::Observer {
41public: 41public:
42 ~AttentionNoticeHandler(); 42 ~AttentionNoticeHandler();
43 43
44 typedef std::map<FluxboxWindow*, FbTk::Timer*> NoticeMap; 44 typedef std::map<WinClient*, FbTk::Timer*> NoticeMap;
45 /// Adds a window that requires attention, 45 /// Adds a client that requires attention,
46 /// will fail if the window is already focused 46 /// will fail if the client is already active
47 void addAttention(FluxboxWindow &win); 47 void addAttention(WinClient &client);
48 /// removes the window from the attention map 48 /// removes the client from the attention map
49 void update(FbTk::Subject *subj); 49 void update(FbTk::Subject *subj);
50 50
51private: 51private: