aboutsummaryrefslogtreecommitdiff
path: root/src/Ewmh.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r--src/Ewmh.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc
index cf1cbbe..e034aa9 100644
--- a/src/Ewmh.cc
+++ b/src/Ewmh.cc
@@ -1057,10 +1057,12 @@ void Ewmh::setState(FluxboxWindow &win, Atom state, bool value) {
1057 else 1057 else
1058 win.moveToLayer(Layer::NORMAL); 1058 win.moveToLayer(Layer::NORMAL);
1059 } else if (state == m_net_wm_state_demands_attention) { 1059 } else if (state == m_net_wm_state_demands_attention) {
1060 if (value) // if add attention 1060 if (value) { // if add attention
1061 m_demands_attention.addAttention(win); 1061 Fluxbox::instance()->attentionHandler().addAttention(win);
1062 else // erase it 1062 } else { // erase it
1063 m_demands_attention.update(&win.attentionSig()); 1063 Fluxbox::instance()->attentionHandler().
1064 update(&win.attentionSig());
1065 }
1064 } 1066 }
1065 1067
1066 // Note: state == net_wm_state_modal, We should not change it 1068 // Note: state == net_wm_state_modal, We should not change it