diff options
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 | ||