aboutsummaryrefslogtreecommitdiff
path: root/src/FocusableList.cc
diff options
context:
space:
mode:
authormarkt <markt>2007-11-20 19:01:45 (GMT)
committermarkt <markt>2007-11-20 19:01:45 (GMT)
commit08ebff4b319f51b4263cded0bb9c04103bcd9c3a (patch)
tree559206cfdcb63c85989882fcdaece3b3312e9d4b /src/FocusableList.cc
parent2e96a07cf74d66f204ce37daef2c9cc6a7c0b357 (diff)
downloadfluxbox-08ebff4b319f51b4263cded0bb9c04103bcd9c3a.zip
fluxbox-08ebff4b319f51b4263cded0bb9c04103bcd9c3a.tar.bz2
move titlebar click handling to FluxboxWindow, fix buttons getting ungrabbed
Diffstat (limited to 'src/FocusableList.cc')
-rw-r--r--src/FocusableList.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FocusableList.cc b/src/FocusableList.cc
index 8a5c8f7..8c43181 100644
--- a/src/FocusableList.cc
+++ b/src/FocusableList.cc
@@ -126,11 +126,11 @@ void FocusableList::update(FbTk::Subject *subj) {
126 FocusableListSubject *fsubj = 126 FocusableListSubject *fsubj =
127 static_cast<FocusableListSubject *>(subj); 127 static_cast<FocusableListSubject *>(subj);
128 if (subj == &m_parent->addSig()) { 128 if (subj == &m_parent->addSig()) {
129 attachSignals(*fsubj->win());
129 if (m_pat->match(*fsubj->win())) { 130 if (m_pat->match(*fsubj->win())) {
130 insertFromParent(*fsubj->win()); 131 insertFromParent(*fsubj->win());
131 m_addsig.notify(fsubj->win()); 132 m_addsig.notify(fsubj->win());
132 } else // we still want to watch it, in case it changes to match 133 }
133 attachSignals(*fsubj->win());
134 } else if (subj == &m_parent->removeSig()) 134 } else if (subj == &m_parent->removeSig())
135 remove(*fsubj->win()); 135 remove(*fsubj->win());
136 else if (subj == &m_parent->resetSig()) 136 else if (subj == &m_parent->resetSig())