diff options
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r-- | src/WinClient.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc index 82027da..acb8250 100644 --- a/src/WinClient.cc +++ b/src/WinClient.cc | |||
@@ -514,6 +514,15 @@ void WinClient::updateWMHints() { | |||
514 | else | 514 | else |
515 | m_icon_mask = 0; | 515 | m_icon_mask = 0; |
516 | 516 | ||
517 | if (m_win && m_win->isInitialized()) { | ||
518 | if (wmhint->flags & XUrgencyHint) { | ||
519 | Fluxbox::instance()->attentionHandler().addAttention(*m_win); | ||
520 | } else { | ||
521 | Fluxbox::instance()->attentionHandler(). | ||
522 | update(&(m_win->attentionSig())); | ||
523 | } | ||
524 | } | ||
525 | |||
517 | XFree(wmhint); | 526 | XFree(wmhint); |
518 | } | 527 | } |
519 | } | 528 | } |