diff options
author | markt <markt> | 2006-06-24 18:19:49 (GMT) |
---|---|---|
committer | markt <markt> | 2006-06-24 18:19:49 (GMT) |
commit | a23ad6719725a0290d01ac4bba0ce1905b2069d7 (patch) | |
tree | b3997c14a601117cc2c613e2a8bb79cc6a6a1c4b /src/Ewmh.cc | |
parent | 0b730c76b10babe20738067ae7aec5a102d451fe (diff) | |
download | fluxbox_pavel-a23ad6719725a0290d01ac4bba0ce1905b2069d7.zip fluxbox_pavel-a23ad6719725a0290d01ac4bba0ce1905b2069d7.tar.bz2 |
Make Urgency Hint flash the correct WinClient's tab.
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index d74092a..15caab0 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -1084,10 +1084,10 @@ void Ewmh::setState(FluxboxWindow &win, Atom state, bool value) { | |||
1084 | win.moveToLayer(Layer::NORMAL); | 1084 | win.moveToLayer(Layer::NORMAL); |
1085 | } else if (state == m_net_wm_state_demands_attention) { | 1085 | } else if (state == m_net_wm_state_demands_attention) { |
1086 | if (value) { // if add attention | 1086 | if (value) { // if add attention |
1087 | Fluxbox::instance()->attentionHandler().addAttention(win); | 1087 | Fluxbox::instance()->attentionHandler().addAttention(win.winClient()); |
1088 | } else { // erase it | 1088 | } else { // erase it |
1089 | Fluxbox::instance()->attentionHandler(). | 1089 | Fluxbox::instance()->attentionHandler(). |
1090 | update(&win.attentionSig()); | 1090 | update(&win.winClient().focusSig()); |
1091 | } | 1091 | } |
1092 | } | 1092 | } |
1093 | 1093 | ||