diff options
Diffstat (limited to 'src/fluxbox.cc')
-rw-r--r-- | src/fluxbox.cc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index cb5cb68..75a6502 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: fluxbox.cc,v 1.168 2003/07/04 01:03:41 rathnor Exp $ | 25 | // $Id: fluxbox.cc,v 1.169 2003/07/04 14:06:20 rathnor Exp $ |
26 | 26 | ||
27 | #include "fluxbox.hh" | 27 | #include "fluxbox.hh" |
28 | 28 | ||
@@ -1262,7 +1262,7 @@ void Fluxbox::update(FbTk::Subject *changedsub) { | |||
1262 | } else if ((&(win.dieSig())) == changedsub) { // window death signal | 1262 | } else if ((&(win.dieSig())) == changedsub) { // window death signal |
1263 | for (size_t i=0; i<m_atomhandler.size(); ++i) { | 1263 | for (size_t i=0; i<m_atomhandler.size(); ++i) { |
1264 | if (m_atomhandler[i]->update()) | 1264 | if (m_atomhandler[i]->update()) |
1265 | m_atomhandler[i]->updateWindowClose(win); | 1265 | m_atomhandler[i]->updateFrameClose(win); |
1266 | } | 1266 | } |
1267 | // make sure each workspace get this | 1267 | // make sure each workspace get this |
1268 | BScreen &scr = win.screen(); | 1268 | BScreen &scr = win.screen(); |
@@ -1309,15 +1309,16 @@ void Fluxbox::update(FbTk::Subject *changedsub) { | |||
1309 | WinClient::WinClientSubj *subj = dynamic_cast<WinClient::WinClientSubj *>(changedsub); | 1309 | WinClient::WinClientSubj *subj = dynamic_cast<WinClient::WinClientSubj *>(changedsub); |
1310 | WinClient &client = subj->winClient(); | 1310 | WinClient &client = subj->winClient(); |
1311 | 1311 | ||
1312 | // TODO: don't assume it is diesig (need to fix as soon as another signal appears) | ||
1313 | for (size_t i=0; i<m_atomhandler.size(); ++i) { | ||
1314 | if (m_atomhandler[i]->update()) | ||
1315 | m_atomhandler[i]->updateClientClose(client); | ||
1316 | } | ||
1312 | BScreen &screen = client.screen(); | 1317 | BScreen &screen = client.screen(); |
1313 | screen.updateNetizenWindowDel(client.window()); | 1318 | screen.updateNetizenWindowDel(client.window()); |
1314 | screen.removeClient(client); | 1319 | screen.removeClient(client); |
1315 | 1320 | ||
1316 | removeWindowSearch(client.window()); | 1321 | removeWindowSearch(client.window()); |
1317 | //!! TODO | ||
1318 | #ifdef DEBUG | ||
1319 | cerr<<__FILE__<<"("<<__FUNCTION__<<") TODO: signal stuff for client death!!"<<endl; | ||
1320 | #endif // DEBUG | ||
1321 | } | 1322 | } |
1322 | } | 1323 | } |
1323 | 1324 | ||