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/FocusableList.cc | |
parent | ad0951ca539d23f8f0ed9a1e8519feacc2ef907c (diff) | |
download | fluxbox-e53d14e9102270a1682a88c29161580ccbf0c20a.zip fluxbox-e53d14e9102270a1682a88c29161580ccbf0c20a.tar.bz2 |
Convert FluxboxWindow::stateSig to FbTk::Signal
Diffstat (limited to 'src/FocusableList.cc')
-rw-r--r-- | src/FocusableList.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc index ca73a22..0368442 100644 --- a/src/FocusableList.cc +++ b/src/FocusableList.cc | |||
@@ -271,12 +271,14 @@ void FocusableList::attachSignals(Focusable &win) { | |||
271 | tracker->join(fbwin->workspaceSig(), | 271 | tracker->join(fbwin->workspaceSig(), |
272 | MemFun(*this, &FocusableList::windowUpdated) | 272 | MemFun(*this, &FocusableList::windowUpdated) |
273 | ); | 273 | ); |
274 | tracker->join(fbwin->stateSig(), | ||
275 | MemFun(*this, &FocusableList::windowUpdated) | ||
276 | ); | ||
274 | } | 277 | } |
275 | } | 278 | } |
276 | 279 | ||
277 | if (!fbwin) | 280 | if (!fbwin) |
278 | return; | 281 | return; |
279 | fbwin->stateSig().attach(this); | ||
280 | fbwin->layerSig().attach(this); | 282 | fbwin->layerSig().attach(this); |
281 | // TODO: can't watch (head=...) yet | 283 | // TODO: can't watch (head=...) yet |
282 | } | 284 | } |
@@ -289,7 +291,6 @@ void FocusableList::detachSignals(Focusable &win) { | |||
289 | FluxboxWindow *fbwin = win.fbwindow(); | 291 | FluxboxWindow *fbwin = win.fbwindow(); |
290 | if (!fbwin) | 292 | if (!fbwin) |
291 | return; | 293 | return; |
292 | fbwin->stateSig().detach(this); | ||
293 | fbwin->layerSig().detach(this); | 294 | fbwin->layerSig().detach(this); |
294 | // TODO: can't watch (head=...) yet | 295 | // TODO: can't watch (head=...) yet |
295 | } | 296 | } |