some debug messages for bug testing

This commit is contained in:
Marius Nita 2002-09-03 06:08:08 +00:00
parent 7c101a50a2
commit 0b72760cea

View file

@ -830,9 +830,13 @@ bool screen::nothingIsPressed(void) const
XQueryKeymap(_epist->getXDisplay(), keys);
for (int i = 0; i < 32; ++i) {
if (keys[i] != 0)
if (keys[i] != 0) {
cout << "debug: not all keys have been released.\n";
return false;
}
}
cout << "debug: all keys have been released.\n";
return true;
}