aboutsummaryrefslogtreecommitdiff
path: root/src/WinClient.cc
diff options
context:
space:
mode:
authormarkt <markt>2006-06-24 18:19:49 (GMT)
committermarkt <markt>2006-06-24 18:19:49 (GMT)
commita23ad6719725a0290d01ac4bba0ce1905b2069d7 (patch)
treeb3997c14a601117cc2c613e2a8bb79cc6a6a1c4b /src/WinClient.cc
parent0b730c76b10babe20738067ae7aec5a102d451fe (diff)
downloadfluxbox-a23ad6719725a0290d01ac4bba0ce1905b2069d7.zip
fluxbox-a23ad6719725a0290d01ac4bba0ce1905b2069d7.tar.bz2
Make Urgency Hint flash the correct WinClient's tab.
Diffstat (limited to 'src/WinClient.cc')
-rw-r--r--src/WinClient.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/WinClient.cc b/src/WinClient.cc
index acb8250..1ede4d8 100644
--- a/src/WinClient.cc
+++ b/src/WinClient.cc
@@ -74,7 +74,8 @@ WinClient::WinClient(Window win, BScreen &screen, FluxboxWindow *fbwin):FbTk::Fb
74 m_blackbox_hint(0), 74 m_blackbox_hint(0),
75 m_mwm_hint(0), 75 m_mwm_hint(0),
76 m_focus_mode(F_PASSIVE), 76 m_focus_mode(F_PASSIVE),
77 m_diesig(*this), m_screen(screen), 77 m_diesig(*this), m_focussig(*this),
78 m_screen(screen),
78 m_strut(0) { 79 m_strut(0) {
79 updateWMProtocols(); 80 updateWMProtocols();
80 updateBlackboxHints(); 81 updateBlackboxHints();
@@ -516,10 +517,10 @@ void WinClient::updateWMHints() {
516 517
517 if (m_win && m_win->isInitialized()) { 518 if (m_win && m_win->isInitialized()) {
518 if (wmhint->flags & XUrgencyHint) { 519 if (wmhint->flags & XUrgencyHint) {
519 Fluxbox::instance()->attentionHandler().addAttention(*m_win); 520 Fluxbox::instance()->attentionHandler().addAttention(*this);
520 } else { 521 } else {
521 Fluxbox::instance()->attentionHandler(). 522 Fluxbox::instance()->attentionHandler().
522 update(&(m_win->attentionSig())); 523 update(&m_focussig);
523 } 524 }
524 } 525 }
525 526