summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/epist/screen.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/util/epist/screen.cc b/util/epist/screen.cc
index 1705202b..995c76ef 100644
--- a/util/epist/screen.cc
+++ b/util/epist/screen.cc
@@ -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;
}