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/Window.cc | |
parent | 02bb93590c69b619150735f026f7719df2e5c271 (diff) | |
download | fluxbox_pavel-6ed8369d57e8d3144805235fb7aeca63993742af.zip fluxbox_pavel-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/Window.cc')
-rw-r--r-- | src/Window.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Window.cc b/src/Window.cc index a76beff..34b5d0c 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -979,9 +979,9 @@ bool FluxboxWindow::setCurrentClient(WinClient &client, bool setinput) { | |||
979 | 979 | ||
980 | m_client->raise(); | 980 | m_client->raise(); |
981 | if (m_focused) { | 981 | if (m_focused) { |
982 | m_client->focusSig().notify(); | 982 | m_client->notifyFocusChanged(); |
983 | if (old) | 983 | if (old) |
984 | old->focusSig().notify(); | 984 | old->notifyFocusChanged(); |
985 | } | 985 | } |
986 | 986 | ||
987 | fbdbg<<"FluxboxWindow::"<<__FUNCTION__<<": labelbutton[client] = "<< | 987 | fbdbg<<"FluxboxWindow::"<<__FUNCTION__<<": labelbutton[client] = "<< |
@@ -1777,9 +1777,9 @@ void FluxboxWindow::setFocusFlag(bool focus) { | |||
1777 | // did focus change? notify listeners | 1777 | // did focus change? notify listeners |
1778 | if (was_focused != focus) { | 1778 | if (was_focused != focus) { |
1779 | m_attention_state = false; | 1779 | m_attention_state = false; |
1780 | m_focussig.notify(); | 1780 | notifyFocusChanged(); |
1781 | if (m_client) | 1781 | if (m_client) |
1782 | m_client->focusSig().notify(); | 1782 | m_client->notifyFocusChanged(); |
1783 | Fluxbox::instance()->keys()->doAction(focus ? FocusIn : FocusOut, 0, 0, | 1783 | Fluxbox::instance()->keys()->doAction(focus ? FocusIn : FocusOut, 0, 0, |
1784 | Keys::ON_WINDOW, m_client); | 1784 | Keys::ON_WINDOW, m_client); |
1785 | } | 1785 | } |