aboutsummaryrefslogtreecommitdiff
path: root/src/AttentionNoticeHandler.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/AttentionNoticeHandler.cc')
-rw-r--r--src/AttentionNoticeHandler.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/AttentionNoticeHandler.cc b/src/AttentionNoticeHandler.cc
index c2599c9..fec3933 100644
--- a/src/AttentionNoticeHandler.cc
+++ b/src/AttentionNoticeHandler.cc
@@ -98,6 +98,10 @@ void AttentionNoticeHandler::addAttention(Focusable &client) {
98 98
99void AttentionNoticeHandler::update(FbTk::Subject *subj) { 99void AttentionNoticeHandler::update(FbTk::Subject *subj) {
100 100
101 // we need to be able to get the window
102 if (typeid(*subj) != typeid(Focusable::FocusSubject))
103 return;
104
101 // all signals results in destruction of the notice 105 // all signals results in destruction of the notice
102 106
103 Focusable::FocusSubject *winsubj = 107 Focusable::FocusSubject *winsubj =