aboutsummaryrefslogtreecommitdiff
path: root/src/AttentionNoticeHandler.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-06-30 01:40:35 (GMT)
committermarkt <markt>2007-06-30 01:40:35 (GMT)
commit998b23acf220f7bfa2117f8446a4f3a179b32d0a (patch)
tree539b97f6b9e683cc2c6c712fd7bd1b991093f364 /src/AttentionNoticeHandler.cc
parent424c113f236b5b5635aa023bf9758463fbef44d0 (diff)
downloadfluxbox-998b23acf220f7bfa2117f8446a4f3a179b32d0a.zip
fluxbox-998b23acf220f7bfa2117f8446a4f3a179b32d0a.tar.bz2
hack for making _NET_WM_STATE_DEMANDS_ATTENTION work with tabs
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 =