diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2010-03-18 18:41:35 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2010-03-18 18:41:35 (GMT) |
commit | 6ed8369d57e8d3144805235fb7aeca63993742af (patch) | |
tree | 914bfd1a4fdc341d5c8aa1fc57e6297c7f8887f0 /src/Ewmh.cc | |
parent | 02bb93590c69b619150735f026f7719df2e5c271 (diff) | |
download | fluxbox-6ed8369d57e8d3144805235fb7aeca63993742af.zip fluxbox-6ed8369d57e8d3144805235fb7aeca63993742af.tar.bz2 |
Changed Focusable::focusSig() to new signal system.
The focus signal emits the window that had the focus status changed.
Diffstat (limited to 'src/Ewmh.cc')
-rw-r--r-- | src/Ewmh.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Ewmh.cc b/src/Ewmh.cc index b4fafc3..3b4ea51 100644 --- a/src/Ewmh.cc +++ b/src/Ewmh.cc | |||
@@ -1358,8 +1358,7 @@ void Ewmh::setState(FluxboxWindow &win, Atom state, bool value, | |||
1358 | if (value) { // if add attention | 1358 | if (value) { // if add attention |
1359 | Fluxbox::instance()->attentionHandler().addAttention(client); | 1359 | Fluxbox::instance()->attentionHandler().addAttention(client); |
1360 | } else { // erase it | 1360 | } else { // erase it |
1361 | Fluxbox::instance()->attentionHandler(). | 1361 | Fluxbox::instance()->attentionHandler().removeWindow(client); |
1362 | update(&client.focusSig()); | ||
1363 | } | 1362 | } |
1364 | } else if (state == m_net->wm_state_modal) { | 1363 | } else if (state == m_net->wm_state_modal) { |
1365 | client.setStateModal(value); | 1364 | client.setStateModal(value); |