aboutsummaryrefslogtreecommitdiff
path: root/src/FocusableList.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FocusableList.cc')
-rw-r--r--src/FocusableList.cc5
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 }