aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2006-06-11 12:47:47 (GMT)
committerfluxgen <fluxgen>2006-06-11 12:47:47 (GMT)
commit3aa4244ab8c6a4cbdd247ddcc3477cb8c38f64c0 (patch)
tree3ca6fdbc6814c827d7952a01cf9a7a065bfec2c3 /src/WinClient.cc
parent2fdc6ab808d3828cba1bacaff536d607dfa60c58 (diff)
downloadfluxbox-3aa4244ab8c6a4cbdd247ddcc3477cb8c38f64c0.zip
fluxbox-3aa4244ab8c6a4cbdd247ddcc3477cb8c38f64c0.tar.bz2
added support for urgency hint, thanks Mark Tiefenbruck
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc9
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}