some debug messages for bug testing
This commit is contained in:
parent
7c101a50a2
commit
0b72760cea
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue