diff options
author | fluxgen <fluxgen> | 2006-06-11 12:47:47 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2006-06-11 12:47:47 (GMT) |
commit | 3aa4244ab8c6a4cbdd247ddcc3477cb8c38f64c0 (patch) | |
tree | 3ca6fdbc6814c827d7952a01cf9a7a065bfec2c3 /src/Ewmh.cc | |
parent | 2fdc6ab808d3828cba1bacaff536d607dfa60c58 (diff) | |
download | fluxbox_pavel-3aa4244ab8c6a4cbdd247ddcc3477cb8c38f64c0.zip fluxbox_pavel-3aa4244ab8c6a4cbdd247ddcc3477cb8c38f64c0.tar.bz2 |
added support for urgency hint, thanks Mark Tiefenbruck
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 10 |
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 |