diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-05-06 18:28:44 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-05-10 11:00:46 (GMT) |
commit | e53d14e9102270a1682a88c29161580ccbf0c20a (patch) | |
tree | 26c5b238119073d69c650a970447685d20a463af /src/AttentionNoticeHandler.cc | |
parent | ad0951ca539d23f8f0ed9a1e8519feacc2ef907c (diff) | |
download | fluxbox-e53d14e9102270a1682a88c29161580ccbf0c20a.zip fluxbox-e53d14e9102270a1682a88c29161580ccbf0c20a.tar.bz2 |
Convert FluxboxWindow::stateSig to FbTk::Signal
Diffstat (limited to 'src/AttentionNoticeHandler.cc')
-rw-r--r-- | src/AttentionNoticeHandler.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/AttentionNoticeHandler.cc b/src/AttentionNoticeHandler.cc index 9052319..7edd8e2 100644 --- a/src/AttentionNoticeHandler.cc +++ b/src/AttentionNoticeHandler.cc | |||
@@ -93,7 +93,7 @@ void AttentionNoticeHandler::addAttention(Focusable &client) { | |||
93 | 93 | ||
94 | // update _NET_WM_STATE atom | 94 | // update _NET_WM_STATE atom |
95 | if (client.fbwindow()) | 95 | if (client.fbwindow()) |
96 | client.fbwindow()->stateSig().notify(); | 96 | client.fbwindow()->stateSig().emit(*client.fbwindow()); |
97 | } | 97 | } |
98 | 98 | ||
99 | void AttentionNoticeHandler::windowFocusChanged(Focusable& win) { | 99 | void AttentionNoticeHandler::windowFocusChanged(Focusable& win) { |
@@ -113,7 +113,7 @@ void AttentionNoticeHandler::updateWindow(Focusable& win, bool died) { | |||
113 | // update _NET_WM_STATE atom if the window is not dead | 113 | // update _NET_WM_STATE atom if the window is not dead |
114 | FluxboxWindow *fbwin = win.fbwindow(); | 114 | FluxboxWindow *fbwin = win.fbwindow(); |
115 | if (fbwin && ! died) | 115 | if (fbwin && ! died) |
116 | fbwin->stateSig().notify(); | 116 | fbwin->stateSig().emit(*fbwin); |
117 | 117 | ||
118 | } | 118 | } |
119 | 119 | ||