diff options
author | markt <markt> | 2006-06-24 18:19:49 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-24 18:19:49 (GMT) |
commit | a23ad6719725a0290d01ac4bba0ce1905b2069d7 (patch) | |
tree | b3997c14a601117cc2c613e2a8bb79cc6a6a1c4b /src/AttentionNoticeHandler.hh | |
parent | 0b730c76b10babe20738067ae7aec5a102d451fe (diff) | |
download | fluxbox-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.hh | 12 |
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 | ||
30 | class FluxboxWindow; | 30 | class WinClient; |
31 | 31 | ||
32 | namespace FbTk { | 32 | namespace FbTk { |
33 | class Timer; | 33 | class Timer; |
@@ -41,11 +41,11 @@ class AttentionNoticeHandler: public FbTk::Observer { | |||
41 | public: | 41 | public: |
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 | ||
51 | private: | 51 | private: |