remove the add/remove/active_window debug cout's

This commit is contained in:
Dana Jansens 2002-07-20 20:29:10 +00:00
parent 675d16c71a
commit c258a4717a

View file

@ -360,7 +360,7 @@ void screen::updateClientList() {
break; break;
if (it == end) { // didn't already exist if (it == end) { // didn't already exist
if (doAddWindow(rootclients[i])) { if (doAddWindow(rootclients[i])) {
cout << "Added window: 0x" << hex << rootclients[i] << dec << endl; //cout << "Added window: 0x" << hex << rootclients[i] << dec << endl;
_clients.insert(insert_point, new XWindow(_epist, this, _clients.insert(insert_point, new XWindow(_epist, this,
rootclients[i])); rootclients[i]));
} }
@ -374,7 +374,7 @@ void screen::updateClientList() {
if (**it2 == rootclients[i]) if (**it2 == rootclients[i])
break; break;
if (i == num) { // no longer exists if (i == num) { // no longer exists
cout << "Removed window: 0x" << hex << (*it2)->window() << dec << endl; //cout << "Removed window: 0x" << hex << (*it2)->window() << dec << endl;
delete *it2; delete *it2;
_clients.erase(it2); _clients.erase(it2);
} }
@ -397,9 +397,9 @@ void screen::updateActiveWindow() {
} }
_active = it; _active = it;
cout << "Active window is now: "; //cout << "Active window is now: ";
if (_active == _clients.end()) cout << "None\n"; //if (_active == _clients.end()) cout << "None\n";
else cout << "0x" << hex << (*_active)->window() << dec << endl; //else cout << "0x" << hex << (*_active)->window() << dec << endl;
} }